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

Browser console syntax error when creating an assignment

    XMLWordPrintable

    Details

    • 20 status:
      Verified
    • 19 status:
      Verified
    • Test Plan:
      Hide
      1. Open the browser console 
      2. Create an assignment and add an attachment

      There should not be a console error

      Show
      Open the browser console  Create an assignment and add an attachment There should not be a console error

      Description

      No rubric is attached in the assignment, but the error mentions rubrics. When creating an assignment, if the instructor attaches a document, there is a console error. The error displays when creating an assignment, I saw it when attaching a document and then saw it again when creating a peer review assignment (no rubric).

      Both sites had rubrics in them (on 20 and 19.x), but the rubrics were not attached to the assignments for this test. I was testing file upload in Edge when I saw the error, then switched to Chrome to see if it is there also. The error references rubrics even though no rubric is attached.

      The document does attach in both Chrome and Edge, though.

      The only thing I see on the server:

      10-May-2019 19:45:24.326 WARN [http-nio-20013-exec-7] org.sakaiproject.content.impl.BaseContentService.availabilityCheck availability check for attachment collection /attachment/f237219f-188e-4a6c-989a-b62bc674ef2e/ 10-May-2019 19:45:24.331 WARN [http-nio-20013-exec-7] org.sakaiproject.content.impl.BaseContentService.availabilityCheck availability check for attachment collection /attachment/f237219f-188e-4a6c-989a-b62bc674ef2e/Assignments/ 10-May-2019 19:45:24.334 WARN [http-nio-20013-exec-7] org.sakaiproject.content.impl.BaseContentService.availabilityCheck availability check for attachment collection /attachment/f237219f-188e-4a6c-989a-b62bc674ef2e/Assignments/0fb3c2af-587f-4707-9760-d21daeccaaa4/

       

      As I am verifying more Jiras with assignments, I believe the syntax error displays every time that the assignment is "saved" and refreshes:

      • Adding an attachment
      • Posting without a title or anything that causes an error message to display at the top of the assignment

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                agschmidt Andrea Schmidt
                Reporter:
                agschmidt Andrea Schmidt
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration