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

NPE when trying to save grade for Forum

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 12.1, 19.0
    • Fix Version/s: 12.2, 19.0
    • Component/s: Forums Tool
    • Labels:
      None
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      0. You need to have at least one student in the site and the gradebook tool with one item created.
      1. Enter the Forums tool. Access "Statistics & Grading" section from the top menu
      2. Click "Statistics & Grading by Topic" on the right
      3. Click on a Forum name, "SITENAME site Forum" (i.e. mercury site Forum)
      4. Click on the Grade option on the right for any student.
      5. Pick a gradebook item and add a grade.
      6. When you try to save it, you get an error. The grade is saved but it's the event that it's failing.

      Show
      0. You need to have at least one student in the site and the gradebook tool with one item created. 1. Enter the Forums tool. Access "Statistics & Grading" section from the top menu 2. Click "Statistics & Grading by Topic" on the right 3. Click on a Forum name, "SITENAME site Forum" (i.e. mercury site Forum) 4. Click on the Grade option on the right for any student. 5. Pick a gradebook item and add a grade. 6. When you try to save it, you get an error. The grade is saved but it's the event that it's failing.

      Description

      When the object to grade is a Forum (not a topic, not a message), an error is thrown to the screen.

      The reason is a NPE when creating the event. The score is saved though.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bergarvi Bernardo Garcia Vila
                Reporter:
                bergarvi Bernardo Garcia Vila
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code