Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-52230

In Message Boards portlet, the [$MESSAGE_SUBJECT$] variable gives incorrect value in the notification email

    Details

      Description

      1. Install Liferay 6.1 EE GA3
      2. Start the server and log on
      3. Add a Message Boards Portlet to the default page
      4. Click the wrench icon to open the configuration panel, and go to the Message Added Email tab
      5. Fill out the Subject Header as follows:
      "emailsubject"
      And in the body, use this:
      "The subject of the message board thread is: [$MESSAGE_SUBJECT$]"
      6. Save the configuration and post a new thread using these text:
      in the message board subject field, enter: "boardsubject"
      in the message board body, enter: "boardbody"
      Expected results:
      In the email body, the variable should show the message board's subject
      (in this example: "The subject of the message board thread is: boardsubject")
      Actual results:
      In the email body, the message board's subject is added to the email subject
      (in this example: "The subject of the message board thread is: emailsubject boardsubject"
      Reproduced with user's patches
      Reproduced with latest patches for 6.1.30 (liferay-portal-fix-packs-6.1.30-ee-20141204.zip)
      Reproduced on 6.1.x (ed03e59afbed5135b016188ade5e1cdc4c278210)
      Not reproduced on 6.2.x (ed03e59afbed5135b016188ade5e1cdc4c278210), there's no "Subject prefix" input in 6.2.x.
      Could not test on master since the "Message Added email" tab is missing from the portlet's configuration panel

        Attachments

        1. fixed.png
          fixed.png
          9 kB
        2. reproduced.png
          reproduced.png
          9 kB

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              bejond.shao Bejond Shao (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 25 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.X EE