Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-62467

PDF annotations file is fully blank if a submission contains a non-convertible file among other convertible files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.4.2
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
    • Testing Instructions:
      Hide

      Prerequisites

      • Run these tests on a Moodle instance where Ghostscript and Unoconv is available

      Test one convertible submission file

      • Login as teacher
      • Go to course A
      • Create an assignment activity and allow students to upload at least 2 files
      • Login as student
      • Go to course A
      • Open the assignment activity
      • Submit one convertible file (a PDF file)
      • Login as teacher again
      • Go to course A
      • Open the assignment activity
      • Open the grading interface

      Expected result:

      • In the grading interface, you will see one submitted file in the right column
      • In the main column, where the submitted documents are displayed, you see the converted submission document (in this case: the PDF file)

      Test several convertible submission files

      • Login as teacher
      • Go to course A
      • Create an assignment activity and allow students to upload at least 2 files
      • Login as student
      • Go to course A
      • Open the assignment activity
      • Submit two convertible files (a PDF file and a DOC file)
      • Login as teacher again
      • Go to course A
      • Open the assignment activity
      • Open the grading interface

      Expected result:

      • In the grading interface, you will see two submitted files in the right column
      • In the main column, where the submitted documents are displayed, you see the converted submission documents (in this case: the PDF file and the DOC file, one after each other)

      Test one non-convertible submission file

      • Login as teacher
      • Go to course A
      • Create an assignment activity and allow students to upload at least 2 files
      • Login as student
      • Go to course A
      • Open the assignment activity
      • Submit one non-convertible file (a ZIP file)
      • Login as teacher again
      • Go to course A
      • Open the assignment activity
      • Open the grading interface

      Expected result:

      • In the grading interface, you will see one submitted file in the right column
      • In the main column, where the submitted documents are displayed, you see a white page

      Test a combination of convertible and non-convertible submission files

      • Login as teacher
      • Go to course A
      • Create an assignment activity and allow students to upload at least 2 files
      • Login as student
      • Go to course A
      • Open the assignment activity
      • Submit two convertible files (a PDF file and a ZIP file)
      • Login as teacher again
      • Go to course A
      • Open the assignment activity
      • Open the grading interface

      Expected result:

      • In the grading interface, you will see two submitted files in the right column
      • In the main column, where the submitted documents are displayed, you see only the converted submission document (in this case: the PDF file)

      Test with no submission file

      • Login as teacher
      • Go to course A
      • Create an assignment activity and allow students to upload at least 2 files
      • Open the grading interface of the newly created assignment
      • Go to a student who hasn't submitted anything

      Expected result:

      • In the grading interface, you will see no submitted files in the right column
      • In the main column, where the submitted documents are displayed, you see a white page
      Show
      Prerequisites Run these tests on a Moodle instance where Ghostscript and Unoconv is available Test one convertible submission file Login as teacher Go to course A Create an assignment activity and allow students to upload at least 2 files Login as student Go to course A Open the assignment activity Submit one convertible file (a PDF file) Login as teacher again Go to course A Open the assignment activity Open the grading interface Expected result: In the grading interface, you will see one submitted file in the right column In the main column, where the submitted documents are displayed, you see the converted submission document (in this case: the PDF file) Test several convertible submission files Login as teacher Go to course A Create an assignment activity and allow students to upload at least 2 files Login as student Go to course A Open the assignment activity Submit two convertible files (a PDF file and a DOC file) Login as teacher again Go to course A Open the assignment activity Open the grading interface Expected result: In the grading interface, you will see two submitted files in the right column In the main column, where the submitted documents are displayed, you see the converted submission documents (in this case: the PDF file and the DOC file, one after each other) Test one non-convertible submission file Login as teacher Go to course A Create an assignment activity and allow students to upload at least 2 files Login as student Go to course A Open the assignment activity Submit one non-convertible file (a ZIP file) Login as teacher again Go to course A Open the assignment activity Open the grading interface Expected result: In the grading interface, you will see one submitted file in the right column In the main column, where the submitted documents are displayed, you see a white page Test a combination of convertible and non-convertible submission files Login as teacher Go to course A Create an assignment activity and allow students to upload at least 2 files Login as student Go to course A Open the assignment activity Submit two convertible files (a PDF file and a ZIP file) Login as teacher again Go to course A Open the assignment activity Open the grading interface Expected result: In the grading interface, you will see two submitted files in the right column In the main column, where the submitted documents are displayed, you see only the converted submission document (in this case: the PDF file) Test with no submission file Login as teacher Go to course A Create an assignment activity and allow students to upload at least 2 files Open the grading interface of the newly created assignment Go to a student who hasn't submitted anything Expected result: In the grading interface, you will see no submitted files in the right column In the main column, where the submitted documents are displayed, you see a white page
    • Affected Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
      MDL-62467-MOODLE_35_STABLE
    • Pull Master Branch:
      MDL-62467-master

      Description

      Steps to reproduce:

      • Login as teacher
      • Go to course A
      • Create an assignment activity and allow students to upload at least 2 files
      • Login as student
      • Go to course A
      • Open the assignment activity
      • Submit a convertible file (e.g. a PDF file) and a non-convertible file (e.g. a ZIP file)
      • Login as teacher again
      • Go to course A
      • Open the assignment activity
      • Open the grading interface

      Actual result:

      • In the grading interface, you will see both submitted files in the right column
      • In the main column, where the submitted documents are displayed, you only see a white canvas

      Expected result:

      • In the grading interface, you will see both submitted files in the right column
      • In the main column, where the submitted documents are displayed, you see the submitted documents which could be converted (in this case: the PDF file)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmitriim Dmitrii Metelkin
              Reporter:
              abias Alexander Bias
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: