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

Errors sorting announcements with null values in string attributes

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.6, 20.0 [Tentative]
    • Fix Version/s: 12.6, 19.0, 20.0 [Tentative]
    • Component/s: Announcements
    • Labels:
      None
    • 19 status:
      Resolved
    • 12 status:
      Resolved
    • Test Plan:
      Hide
      1. As admin, create a new user and insert the user to any site
      2. As this new user, enter to the site and create an announcement
      3. As an instructor, enter to the site and create another announcement
      4. As admin, delete the user created in step 1
      5. As an instructor, enter to the site an go to "Announcements" -> There is an announcement with no value in "Saved By" column.
      6. Sort announcement by "Saved By" column -> "java.lang.NullPointerException" is thrown.
      Show
      As admin, create a new user and insert the user to any site As this new user, enter to the site and create an announcement As an instructor, enter to the site and create another announcement As admin, delete the user created in step 1 As an instructor, enter to the site an go to "Announcements" -> There is an announcement with no value in "Saved By" column. Sort announcement by "Saved By" column -> "java.lang.NullPointerException" is thrown.

      Description

      An exception is thrown when trying to order announcements by a column in which there is a null value.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adrianmticarum Adrian Martinez
                  Reporter:
                  adrianmticarum Adrian Martinez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code