[
https://issues.apache.org/jira/browse/OFBIZ-926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491500 ]
Scott Gray commented on OFBIZ-926:
----------------------------------
Hi Si
I can't see the behaviour you've mentioned, I assume by cancelled you mean reviews with a statusId of PRR_DELETED? The code pulling up the stats looks fine(ie. pulls up only approved reviews), the only thing you might want check is that your cache is cleared after cancelling the review as the reviews are pulled up using product.getRelatedCache.
Regards
Scott
> product reviews counts cancelled reviews
> ----------------------------------------
>
> Key: OFBIZ-926
> URL:
https://issues.apache.org/jira/browse/OFBIZ-926> Project: OFBiz (The Open for Business Project)
> Issue Type: Bug
> Components: ecommerce
> Reporter: Si Chen
> Priority: Minor
>
> Product reviews in ecommerce will add cancelled reviews into the total and (it seems) the average reviewed score when displaying the number of reviews and average rating for a product.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.