Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-34084

Improve formatting of attachment list in assignment submission email receipt

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.4, 12.0
    • Fix Version/s: 12.2, 19.0 [Tentative]
    • Component/s: Assignments
    • Labels:
      None
    • 12 status:
      Resolved
    • Test Plan:
      Hide
      • NOTE: this test requires access to email sent from Sakai
      • Create an assignment that allows multiple attachments
      • As a student, attach regular files, a zip archive that contains at least one file, and an empty zip archive
      • Check your email receipt for the submission and confirm that the attachments list is accurate and you can easily distinguish between files included as zip contents and regular attachments, and that the empty archive is identified as such.
      Show
      NOTE: this test requires access to email sent from Sakai Create an assignment that allows multiple attachments As a student, attach regular files, a zip archive that contains at least one file, and an empty zip archive Check your email receipt for the submission and confirm that the attachments list is accurate and you can easily distinguish between files included as zip contents and regular attachments, and that the empty archive is identified as such.

      Description

      The attachment listing in the email receipt for an assignment with multiple attachments can be difficult to read. It is missing line breaks, and zip file contents are not distinguished in any way from other files.

      PR adds line breaks and indents files that are part of a zip archive under the archive's name.

      Empty archives are also detected and reported as such.

      Example before:

      quiz.zip (179 KB) APIWrapper.js (15 KB)
      imscp_rootv1p1p2.xsd (15 KB)
      imsmd_rootv1p2p1.xsd (22 KB)
      ims_xml.xsd (1 KB)
      animalquiz.swf (165 KB)
      index.html (3 KB)
      adlcp_rootv1p2.xsd (4 KB)
      imsmanifest.xml (6 KB)
      animalquiz.js (1 KB)
      gradebook_import.csv (1 KB) test.psd (1 KB)

      Example after:

      quiz.zip (179 KB):
          APIWrapper.js (15 KB)
          imscp_rootv1p1p2.xsd (15 KB)
          imsmd_rootv1p2p1.xsd (22 KB)
          ims_xml.xsd (1 KB)
          animalquiz.swf (165 KB)
          index.html (3 KB)
          adlcp_rootv1p2.xsd (4 KB)
          imsmanifest.xml (6 KB)
          animalquiz.js (1 KB)
      gradebook_import.csv (1 KB)
      test.psd (1 KB)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ern Earle R Nietzel
                Reporter:
                plukasew Paul Lukasewych
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code