Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18977

The LIKE feature is not working as expected in a cluster environment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 12.10.8
    • Like
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Note that a remote SOLR instance is used on the cluster.

      To reproduce the issue follow these steps on a clutser environement :

      • Create a test page in one node
      • Load the page in the other node
      • Like the page on the first node and observe the number of likes
      • Reload the page on the second node and observe the number of likes

      Expected result :
      The number of likes has been incremented in the first node after the click on the like button , (number of likes = 1), and the number of likes on the second node is the same as the first node.

      Actual result :

      • The number of likes is not incremented after the click on the like button on the first node, even after reloading the page the number of likes is still equal to 0.
      • The number of likes is equal to 1 on the second node which is the correct number

      If you click again on the like button on the first node multiple times nothing changes, the number of the likes is still 0 but on the second node the number of likes is incremented each time the user clicks on the like button on the first node, so, we have several likes for the same user on the same page, see screenshot :

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              mouhb Mohamed Boussaa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: