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

Messages tool / unable to open link to site from email

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 19.3, 20.0
    • Fix Version/s: 19.4, 20.0
    • Component/s: Messages Tool
    • Labels:
      None
    • Environment:
      Sakai nightly 19/20
    • 19 status:
      Verified
    • Test Plan:
      Hide
      1. Set a user with an email account, can be a fake account.
      2. Send a private message to that user in a course and send a copy to his/her inbox.
      3. Take the link from the nightly server logs or Mailcatcher, the URL may end by "null", like this,
        1. http://localhost:8080/portal/site/a84ae2a9-c194-4baa-8c95-771ee44c527f/tool/967754c0-ae1c-48f4-a1a0-f897b9d455aa/privateMsg/pvtMsgDirectAccess?current_msg_detail=null
      4. Visit the link as that user, you'll receive the error.
      Show
      Set a user with an email account, can be a fake account. Send a private message to that user in a course and send a copy to his/her inbox. Take the link from the nightly server logs or Mailcatcher, the URL may end by "null", like this, http://localhost:8080/portal/site/a84ae2a9-c194-4baa-8c95-771ee44c527f/tool/967754c0-ae1c-48f4-a1a0-f897b9d455aa/privateMsg/pvtMsgDirectAccess?current_msg_detail=null Visit the link as that user, you'll receive the error.

      Description

      As admin, create a user in Sakai

      Add that user to a site that has the messages tool

      Using the Messages tool, send a message to the new user and check the option to send a copy to their email.

      Using the MailCatcher on the nightly servers, view the email sent to that user

      Select the link that contains the site title/ID

      On nightly trunk, an error is displayed in the UI:
      Alert: Error loading message.

       

      On 19x, a stack trace appears(attached)

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  farreri Miguel Pellicer
                  Reporter:
                  drramsey Derek Ramsey
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration