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

Tooltip message for ratings (type like) is not updated

    Details

      Description

      This is the same issue as LPS-73870 for "Like" type ratings (i.e., only a thumbs up and not thumbs down)

      1. Add at least one asset (the type of asset doesn't matter)
      2. Add an ADT for Asset Publisher with the following script:
        <#if entries?has_content>
         <#list entries as curEntry>
          ${curEntry.getTitle(locale)}
           <@liferay_ui['ratings'] className=curEntry.getClassName() classPK=curEntry.getClassPK() type="like" /> 
         </#list>
        </#if>
      3. Add an Asset Publisher to the page
      4. Configure to Asset Publisher to use the ADT created above
      5. Click on the thumb

      Result:
      Tooltip is not updated after the user clicks on the thumb. The tooltip is only updated after the the page is refreshed.
      Expected Result
      Tooltip is updated after the user clicks on the thumb.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                felix.zhang Felix Zhang
                Reporter:
                samuel.kong Samuel Kong
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 9 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP32
                  7.0.0 DXP FP34
                  7.0.0 DXP SP7
                  7.0.5 CE GA6
                  7.0.X
                  7.1.X
                  Master