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

Error message when a user/role/group id contains a space or period

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0, 10.7
    • Fix Version/s: 11.4, 12.0
    • Component/s: Mailsender
    • Labels:
    • Environment:
      Xen, Debian Linux, Apache HTTPD 2, Tomcat 5.5, Java 1.6, Sakai 2.7.x
    • 11 status:
      Resolved
    • 10 status:
      Please Merge
    • Previous Issue Keys:
      MSND-78

      Description

      This is similar to MSND-5, which appears to have occurred because UC Berkeley created a role with an ID that included a space.
      Our errors occur because we have external guest users with userids that are email addresses.
      So if a list of "other users" is picked which includes the user "john.smith@somedomain.net", the error we see is:

      --> Null value in EL path at path 'emailBean.newEmail.userIds.john'
      java.lang.NullPointerException: Null value in EL path at path 'emailBean.newEmail.userIds.john'

      This suggests the EL path is breaking at a full stop or space and needs to either be escaped or encoded/encapsulated.

        Gliffy Diagrams

          Zeplin

            Attachments

            1. crashlog.png
              crashlog.png
              125 kB
            2. crashmail.png
              crashmail.png
              98 kB

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  raad Raad Al-Rawi (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration