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

Ratings are not stored in separate spaces in case ratingsspaceforeachspace is enabled and spacename is also defined

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.2-milestone-2
    • Fix Version/s: 9.11.5, 10.4-rc-1
    • Component/s: Ratings
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      In the previous versions, when having ratingsspaceforeachspace enabled and spacename defined, for a document called 'MySpace.MyName', the ratings document ids were having the following format : 'RatingSpaceMySpace.MyNameR_number_' .
      In the latest version, the ids format is : 'RatingsSpace.MySpaceMyNameR_number' .

      It looks like ratingsspaceforeachspace option is ignored and all ratings are saved in the same space, the one specified in configuration. What is interesting is that the rating document name contains the source document (last) space name. Therefore, I'm not against this convention, but in that case I would prefer having different configuration options (I'm also considering dropping the notion of separate ratings space for each space, just that it might break the backwards compatibility in case of an upgrade).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acotiuga Alex Cotiugă
                Reporter:
                ralucamorosan Raluca Stavro
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: