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

Changing / adding web content tokens does not work

    Details

      Description

      Steps to reproduce:

      1. Create a web content like the one below and add it to a page:

        Line one with custom token @[email protected]
        @[email protected]
        Line 2
        @[email protected]
        Line 3

      2. Notice @[email protected] and @[email protected] are displayed as text while @[email protected] works as expected.
      3. Go to Control Panel -> Configuration -> System Settings -> Web Experience -> Web Content
      4. Make the following changes and save the config:
        1. replace @[email protected] with @[email protected]
        2. add my_token in Custom token names
        3. add my_token=my value in Custom token values
      5. Reload the page with web content

      Expected result:

      1. Page breaks at @[email protected] and not at @[email protected]
      2. @my_t[email protected] is replaced by my value

      Actual result:

      1. Page still breaks at @[email protected] and not at @[email protected]
      2. @[email protected] is not processed and displayed as is

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              raven.song Raven Song
              Reporter:
              milen.dyankov Milen Dyankov (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 10 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE
                  7.1.X
                  Master