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

Guest isn't able to see average rating if it's 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

        1. fixed.png
          fixed.png
          13 kB
        2. reproduced.png
          reproduced.png
          16 kB

          Issue Links

            Activity

              People

              • Assignee:
                yvonne.han Yvonne Han
                Reporter:
                zsolt.szabo Zsolt Szabo (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 6 weeks, 6 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M2