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

Web Content Display widget executes Freemarker template twice when viewing

Details

    Description

      Steps to Reproduce

      1. Create a Web Content structure with any fields
      2. Create a Web Content template associated with that structure, unchecking Cacheable if available, and using the following script:

      <#assign this_going_to_fail = nothing/>
      

      3. Add a new article using the structure
      4. Add the article to the home page
      5. Clear your console logs
      6. Refresh the page

      Expected Behavior:
      The error in the logs is shown once.

      Actual Behavior:
      The error in the logs is shown twice.

      Attachments

        Issue Links

          Activity

            People

              lu.liu Lu Liu
              jonathan.mccann Jonathan McCann
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 11 weeks, 4 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP60
                  7.0.0 DXP SP9
                  7.0.X
                  7.1.10 DXP FP3
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master