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

Multiple console errors when releasing assignment from submissions page

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      Have your browser console open when doing this test

      1. Create a rubric
      2. Create an assignment with the rubric
      3. Have a couple of students submit the assignment
      4. Click Grade under the assignment
      5. Click on a student, grade the rubric, then click Save - do NOT release the grade
      6. Click Return to List
      7. Assign a 0 to ungraded assignments 
      8. Click Release Grades

      Expected: you should not see any console errors

      Show
      Have your browser console open when doing this test Create a rubric Create an assignment with the rubric Have a couple of students submit the assignment Click Grade under the assignment Click on a student, grade the rubric, then click Save - do NOT release the grade Click Return to List Assign a 0 to ungraded assignments  Click Release Grades Expected: you should not see any console errors

      Description

      This is broken for both the old and the new grader in 20x. When grading students using the rubric in an assignment, then clicking to only save (not release), and returning to the list, setting all ungraded to 0, and then clicking to release all grades, the following console errors display (students also do not see the graded rubrics - SAK-44959).

      The cideo is of the new grader, but afterwards I created another assignment and tested the old grader with the same results.

      sakai-rubric-student-button.js??version=c16ed1bc:79 GET https://qa20-mysql.nightly.sakaiproject.org/rubrics-service/rest/evaluations/search/by-tool-and-assignment-and-submission?toolId=sakai.assignment&itemId=ccded8a4-de63-439c-8d6f-a19efcb0dc17&evaluatedItemId=5a7686d6-2ab0-4315-987c-9f647f11371f 404

      sakai-rubric-student-button.js??version=c16ed1bc:104 SyntaxError: Unexpected end of JSON input
      at sakai-rubric-student-button.js??version=c16ed1bc:84
      at async Promise.all (/portal/site/e39f496b-2cbe-4cda-ae93-6188e24dc5fc/tool/index 4)
      (anonymous) @ sakai-rubric-student-button.js??version=c16ed1bc:104
      Promise.catch (async)
      releaseEvaluation @ sakai-rubric-student-button.js??version=c16ed1bc:104
      (anonymous) @ assignments.js?version=c16ed1bc:985
      (anonymous) @ assignments.js?version=c16ed1bc:985

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                a.fish@lancaster.ac.uk Adrian Fish
                Reporter:
                agschmidt Andrea Schmidt
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration