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

              raven.song Raven Song
              ivan.zaera Ivan Zaera
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 50 weeks, 6 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP68
                  7.0.X