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

Freemarker code rendered in lfr-editable fragment type HTML

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Steps to Reproduce

      1. Go to page fragments admin and add a new fragment
      2. In the HTML section start typing
        <lfr-editable:

        and click on type HTML

      3. Add freemarker code in between the lfr-editable tags(ex: ${themeDisplay.getUser()})
      4. Publish fragment and add it to content page

      Expected Result:

      Freemarker code is not rendered

      Actual Result:

      Freemarker code is rendered and when the fragment is added to content page you can't edit it

      Reproduced on:

      Tomcat 9.0.17 + MySQL 5.7.

      Portal Master GIT Commit: be62634ad850bed6561afd14982dc2ccf199b1b9

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brooke.dalton Brooke Dalton
              Reporter:
              brooke.dalton Brooke Dalton
              Participants of an Issue:
              Recent user:
              Brooke Dalton
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package