Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: Ratings
    • Labels:
      None

      Description

      Reproduction steps:

      1. Change rating type to Stars for Blogs
      2. Add a blog entry
      3. Rate this blog entry with 5 stars
      4. Rate with another account with 3 stars

       

      Actual Results:
      Response

      {"score":0.6,"totalEntries":2,"totalScore":1.5999999999999999,"averageScore":0.7999999999999999}
      

       

      Expected Results:
      Response

      {"score":0.6, "totalEntries":2, "totalScore":1.6, "averageScore":0.8}
      

       

      NOTE: Same values in initial JSP props in initialAverageScore

      renderomlz.default(
        renderFunctionomlz.default, 
        {..., "initialAverageScore":0.7999999999999999}, 
        'omlz'
      );

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 weeks ago

                  Packages

                  Version Package
                  Master