Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-12829

Guest is not able to see average rating if its type is "thumb"

    Details

      Description

      Steps to reproduce:

      1. Place a Message Boards portlet on a page
      2. Post a new Thread in the portlet with sample data
      3. Rate your comment
      4. Log out
      5. Check your Thread as Guest

      Actual Result: You won't see the ratings as Guest, only a message: "Sign in to vote."

      Expected Result: Guest user should see the current ratings

      6. Edit webapps\ROOT\html\portlet\message_boards\view_thread_message.jspf, change rating type to "stars":

      <liferay-ui:ratings
      	className="<%= MBMessage.class.getName() %>"
      	classPK="<%= message.getMessageId() %>"
      	type="stars"
      />
      

      7. Restart the Portal and check the Thread as Guest

      Result: You will see the Average ratings.

      reproduced on master@23a504b20bdd0f5602940fa8ac3af32861287127

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andrew.betts Andrew Betts
              Reporter:
              zsolt.szabo Zsolt Szabo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.X EE