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

Assignments > Upload All > Silent failure if grades files is wrong file type

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.5 [Tentative], 12.2, 19.0 [Tentative]
    • Fix Version/s: 12.4, 19.0 [Tentative]
    • Component/s: Assignments
    • Labels:
      None
    • 12 status:
      Resolved
    • Test Plan:
      Hide
      1. Click the Grade link under the assignment title.
      2. Click the Download All link on the Grade screen. Check the All box and leave the default checked for grade file, CSV format, file grades.csv.
      3. Edit the grades.csv file and enter grades for each student. Save your changes.
      4. Zip the assignment folder for upload.
      5. Go back to the Grade page for the assignment.
      6. Click Upload All.
      7. Browse to find the zipped assignment folder (which contains the grades.csv file)
      8. Check the All box and select EXCEL format, file grades.xls for the grade file.
      9. Click the Upload button. Upload seems to complete successfully but when you are returned to the assignment's grade screen, no grades have been updated from the spreadsheet.
      Show
      Click the Grade link under the assignment title. Click the Download All link on the Grade screen. Check the All box and leave the default checked for grade file, CSV format, file grades.csv. Edit the grades.csv file and enter grades for each student. Save your changes. Zip the assignment folder for upload. Go back to the Grade page for the assignment. Click Upload All . Browse to find the zipped assignment folder (which contains the grades.csv file) Check the All box and select EXCEL format, file grades.xls for the grade file. Click the Upload button. Upload seems to complete successfully but when you are returned to the assignment's grade screen, no grades have been updated from the spreadsheet.

      Description

      The "Upload All" feature can be used to update grades, comments, etc. in bulk. It accepts two file formats for the grades file: CSV and Excel (the same two options given when using "Download All").

      If the user supplies the wrong file format for the grades file when using "Upload All", the process will appear to have worked: the user is returned to the previous page and no error message is presented. It's actually failing silently behind the scenes.

      This scenario should present an error message to the user to avoid the perception that the user's grade changes have been applied.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bjones86 Brian Jones
                Reporter:
                bjones86 Brian Jones
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code