Uploaded image for project: 'XNAT'
  1. XNAT
  2. XNAT-6933

Email action failing without personal message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.8.4
    • 1.8.4
    • None
    • None
    • Rank:
      0|0hzyc4:

    Description

      To recreate this:

      1. Go to a subject [report] page.
      2. Click "Email" in the Actions box.
      3. Enter an email address (that you can read), and email title, but leave the "personal message" empty.
      4. Send the email

      When the email arrives, the entirety of the contents is just "empty" (literally the string "empty"). The cause is an NPE getting swallowed up that's thrown on this line: https://bitbucket.org/%7Ba425d3cf-8a00-4e5a-9c6b-ae7fe2442305%7D/xdat/commits/3bdf87c1b2b464e40160682b1a1488d99c6b27a7#Lsrc/main/java/org/nrg/xdat/turbine/modules/actions/EmailReportAction.javaT123 . The previous StringBuilder implementation was robust to this, but String#replaceAll is not.

      Attachments

        Activity

          People

            radiologics_ian Ian Gauthier
            moore.c@wustl.edu Charlie Moore (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: