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

Like related events should be produced in reaction to rating events

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 13.10.4
    • Like
    • None
    • Unknown

    Description

      Like feature is based on rating, so saving a like actually means saving a rating.

      Unfortunately, the current design does not follow the same logic for events. Like events are produced totally independently of rating events, which makes it quite a pain to implement generic manipulation of ratings (for example, if you copy a rating that happen to be a like it will be totally invisible to the like system to invalidate various caches).

      It also affects the update of average likes but even worst since it's not even listening to like events.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: