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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.4.2
    • Assignment
    • MOODLE_34_STABLE
    • MDL-62467-master
    • 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

      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)

            dmitriim Dmitrii Metelkin
            abias Alexander Bias
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.