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

Soy template rendering does not work for HTML parameters

    Details

      Description

      When a parameter of type HTML is used in a soy template, the renderer complains with an exception claiming:

      com.google.template.soy.tofu.SoyTofuException: When evaluating "$context.content": Expected value of type 'html', but actual types was 'ConstantString'

       

      Steps to reproduce:

      1. Start portal
      2. Deploy attached bundle
      3. Add a MySoyPortlet to a page
      4. Watch it fail

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raven.song Raven Song
                Reporter:
                ivan.zaera Ivan Zaera
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  36 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP68
                  7.0.X