Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5740 Moodle 2.6 QA
  3. MDLQA-6063

CLONE - Moodle can display the file type and size for PDF file resources.

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Major
    • Affects Version/s: Moodle 2.6
    • Fix Version/s: Moodle 2.6
    • Component/s: Course
    • Labels:
      None

      Description

      Test Pre-requisites:
      Any course. A PDF file that is less than the maximum allowed upload.

      Test Steps:
      1. Add a new File resource. Type a name and upload a PDF file. Type some basic text for the intro. Leave other options at default; save and display. On the resulting page, the PDF displays (embedded) just as it always did. The intro box should show the text you typed as usual.
      2. Return to the course page. The link to the PDF will also be unchanged.
      3. Edit the File item. Turn on the 'Show size' and 'Show type' options; save and display. Below your text in the intro box there should be a paragraph of small grey text such as '114.2KB PDF document'.
      4. Visit the course page. Next to the link to the PDF, the same information '114.2KB PDF document' will be displayed.
      5. Edit the File item. Turn off 'Show type' so that it only shows the size. Save it; look at the PDF page and the course page again. In both places, the text will now read only '114.2KB'."
      6. Edit it again; turn 'Show type' on, and 'Show size' off. Check both pages. In both pages, the text will now read only 'PDF document'.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: