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

Computation of average rating is wrong when removing all ratings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 13.4.3, 12.10.9, 13.7-rc-1
    • 12.10.8
    • Ratings
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      The computation of average ratings is computing a NaN when the number of votes reach 0. It makes all further computation of the average wrong.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: