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

Cannot change the markup language of a web content template

    Details

      Description

      Reproducing steps

      1. Go to Control Panel > Configuration > System Settings > Web Content > SYSTEM SCOPE > Administration > Template Language Types.
      2. Add a new template language, besides Freemarker, for example, Velocity. Use the '+' button to add a new field.
      3. Create a new web content template in Freemarker.
      4. Edit the template from the previous step and try to adapt it to Velocity.
        Expected: I can modify the template's code to adapt it to the Velocity language and I can also tell Liferay that the new language is Velocity rather than Freemarker.
        Observed: I can modify the template's code to adapt it to the Velocity language but I cannot tell Liferay that Velocity is the new Language.

      Notes:

      1. The role of Freemarker and Velocity in these steps could be interchanged.
      2. These can also affect users coming from older versions of Liferay having templates in Velocity but finding imposible to adapt them to Freemarker.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              ricardo.couso Ricardo Couso
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Ricardo Couso
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 51 weeks, 5 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP4
                  7.2.X
                  7.3.0 CE GA1
                  7.3.10 DXP GA1
                  Master