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

[$TO_NAME$] announcement email template context parameter is not filled in

    Details

      Description

      Steps to reproduce:

      1. Add line "Dear [$TO_NAME$]," to the content of file tomcat\webapps\ROOT\WEB-INF\lib\portal-impl.jar\com\liferay\portlet\announcements\dependencies\email_body.tmpl
      2. Add announcements.entry.check.interval=1 to portale-ext (so you don't have to wait 15 minutes until the email is sent).
      3. Start the portal
      4. Create a user and log in with it
      5. From My Account → Account Settings --> Preferences --> Alerts and Announcements Delivery tick Email for General.
      6. As admin, create a general announcement from Control panel/Configuration/Announcements and Alerts.
      7. Wait for the email to be sent to the new user
      8. Open the email.
        Result: You see "Dear ,". The user's name is empty, not filled in.

        Attachments

          Activity

            People

            Assignee:
            beck.liu Beck Liu
            Reporter:
            laszlo.hudak Laszlo Hudak
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            Laszlo Hudak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 9 weeks, 6 days ago

                Packages

                Version Package
                7.1.10 DXP FP14
                7.1.X
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                7.2.1 CE GA2
                7.3.10 DXP GA1
                Master