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

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: