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

NPE for existing gradebooks using categories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 20.0
    • Fix Version/s: 20.0
    • Component/s: Gradebook
    • Labels:
      None
    • Conversion Script Required:
      Yes
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      After the changes in SAK-42414, existing gradebooks using categories will throw a stack trace caused by a NullPointerException. This happens because the is_equal_weight_assns column for existing categories will contain nulls. Newly created categories will have an appropriate true/false value.

      I've created a conversion script that will set the nulls to false, and make the column non-nullable.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  plukasew Paul Lukasewych
                  Reporter:
                  plukasew Paul Lukasewych
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration