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 @my_token@
        @page_break@
        Line 2
        @new_page_break@
        Line 3

      2. Notice @my_token@ and @new_page_break@ are displayed as text while @page_break@ 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 @page_break@ with @new_page_break@
        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 @new_page_break@ and not at @page_break@
      2. @my_token@ is replaced by my value

      Actual result:

      1. Page still breaks at @page_break@ and not at @new_page_break@
      2. @my_token@ 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:
                3 years, 40 weeks, 2 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