Project

General

Profile

Actions

Bug #2492

closed

CB ProfileBook rating is not calculating correctly

Added by krileon about 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
18 April 2011
Due date:
% Done:

100%

Estimated time:

Description

When posting on a users guestbook and providing a 5 star rating then posting again with no rating it is counting as a rating of 0 even if rating is set to optional.

https://www.joomlapolis.com/forum/154-advanced-members-support/161203-rating-field-bug


Files

2492.patch (884 Bytes) 2492.patch krileon, 10 April 2012 16:55
Actions #1

Updated by krileon over 12 years ago

This appears to also affect the rating fieldtype. Rating do not appear to be calculating properly.

https://www.joomlapolis.com/forum/153-professional-member-support/174443-cb-rating-not-registering

Actions #2

Updated by beat over 12 years ago

  • Project changed from CB to CB ProfileBook
Actions #3

Updated by krileon about 12 years ago

  • Status changed from New to Feedback
  • Assignee set to beat

This is due to it calculating no rating (0) as a negative impact on the users rating. Should this be the case? It shouldn't count a rating that doesn't exist IMO. Will review and propose patch if agreed, otherwise just close.

Actions #4

Updated by krileon about 12 years ago

  • File 2492.patch 2492.patch added
  • Status changed from Feedback to Resolved
  • % Done changed from 0 to 100

Patch adds a check to ensure the vote is greater then 0 before attempting to calculate.

Actions #5

Updated by krileon over 11 years ago

  • Status changed from Resolved to Closed
  • Assignee changed from beat to krileon

Committed in r2651

Actions #6

Updated by krileon over 11 years ago

  • Target version set to 1.3
Actions

Also available in: Atom PDF