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

Browser console jquery error when selecting grade in forum topic posting

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      1. Open the browser console
      2. Add a gradebook item
      3. Have a student make a post to the general forum topic
      4. As the instructor, click on the student's post
      5. Click Grade - currently an error displays in the browser console

      The instructor is able to select a gradebook item and successfully post the grade, though.

      Show
      Open the browser console Add a gradebook item Have a student make a post to the general forum topic As the instructor, click on the student's post Click Grade - currently an error displays in the browser console The instructor is able to select a gradebook item and successfully post the grade, though.

      Description

      This browser console error does not display on trunk (20[tentative]):

      If the instructor did not associate a gradebook item with a forum topic, then clicks to grade the student, a browser console error displays.

      The instructor is able to select a gradebook item and the grade does actually post to the gradebook, so this does not seem to affect the user.

      This error does not display if a gradebook item has previously been associated with the topic.

      VM1931 awesomplete.min.js:2 Uncaught TypeError: Cannot read property 'setAttribute' of null
      at new r (VM1931 awesomplete.min.js:2)
      at HTMLDocument.<anonymous> (dfMsgGrade?forumId=38&topicId=171&messageId=54&dialogDivId=dialogDiv&frameId=dialogFrame&gradesSavedDiv=gradesSavedDiv&userId=d8d835a7-b4ac-4d81-a79c-6078c455ae66:69)
      at i (VM1921 jquery.min.js:2)
      at Object.fireWith [as resolveWith] (VM1921 jquery.min.js:2)
      at Function.ready (VM1921 jquery.min.js:2)
      at HTMLDocument.K (VM1921 jquery.min.js:2)
      r @ VM1931 awesomplete.min.js:2
      (anonymous) @ dfMsgGrade?forumId=38&topicId=171&messageId=54&dialogDivId=dialogDiv&frameId=dialogFrame&gradesSavedDiv=gradesSavedDiv&userId=d8d835a7-b4ac-4d81-a79c-6078c455ae66:69
      i @ VM1921 jquery.min.js:2
      fireWith @ VM1921 jquery.min.js:2
      ready @ VM1921 jquery.min.js:2
      K @ VM1921 jquery.min.js:2

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Git Source Code