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

liferay_ratings["ratings"] is unavailable in freemarker

    Details

      Description

      Step to reproduce:

      1. Add a widget page
      2. Add a Wiki widget to page
      3. Front Page tab
      4. Click This page is empty. Edit it to add some text.
      5. Type content then publish
      6. Product Menu > Design > Widget Templates
      7. Add a Wiki template
      8. Type name then upload the attached file
      9. Click Save
      10. Navigate to widget page
      11. Click the ellipsis button of Wiki widget topper
      12. Configuration
      13. Select the custom widget template in Display Template field
      14. Click Save
      15. Close the modal

      Expected Results:
      The Wiki should be rendered well.

      Actual Results:
      The following error is shown in Wiki widget:

      Step to reproduce:

      1. Add a widget page
      2. Add an Asset Publisher widget to page
      3. Add a web content based on Basic Web Content
      4. Product Menu > Design > Widget Templates
      5. Add an Asset Publisher template
      6. Type name then upload the attached file
      7. Click Save
      8. Navigate to widget page
      9. Click the ellipsis button of Asset Pubisher widget topper
      10. Configuration
      11. Select the custom widget template in Display Template field
      12. Expand the Set and enable
      13. Check the Ratings in Enable section
      14. Click Save
      15. Close the modal

      Expected Results:
      The Asset Publisher should be rendered well.

      Actual Results:
      The similar error is shown in Asset Publisher widget.

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7. Portal master GIT ID: 63e51f2e7e30acddd6e7cc1c037b4ae5c233714a.

      Cannot be reproduced on:
      Tomcat 9.0.37 + MySQL 5.7. Portal 7.3.x-private GIT ID: df6af2ada3d45adb54f20062914943d22c87fc06.

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            yang.cao Yang Cao
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Engineering Assignee:
            Ambrin Chaudhary
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              44 weeks, 2 days ago

                Packages

                Version Package
                7.3.X
                Master