Hi guys,
I think that found a bug with the product rating when is more that one comment in the product. Screencast at: http://screencast.com/t/HNAcrmPYnpxq
DW version: 8.7.1.5
Best regards,
António Ramos
Hi guys,
I think that found a bug with the product rating when is more that one comment in the product. Screencast at: http://screencast.com/t/HNAcrmPYnpxq
DW version: 8.7.1.5
Best regards,
António Ramos
Hi Antonio
Cannot reproduce (see my dumps) - what browser are you using (maybe a js error?).
I need a link to the solution so I can check it out.
BR Nicolai
Hi Nicolai,
I'm using Google Chrome (version 48) and the solution is http://thecount.dw-demo.com/
Thanks,
António Ramos
Hi António
I have made a test on your site with Chrome version 48.0.25 but are not able to reproduce the problem on your site !
Video: http://screencast.com/t/1Zhm65tJ
So could you empty your BrowserCache and try again. If problem still occurs the please drop a case to Support
Kind Regards
Dynamicweb Support
Kristian Kirkholt
Hi Kristian,
Thank you for your feedback. I can add it too... The problem here (I can't confirm in your video) are the values saved at database.
I checked your new product at the database (see attach) and I can confirm that the problem persists. The values are saved with zero.
Best regards,
António Ramos
Hi António
It works - see my dumps. Do you by any chance have a script running that re-imports or something that could reset the fields?
NP
I discovered that you include Newrelic in the backend, see dump.
My PC blocks it because of uBlock, so that might be that one messing up some stuff?
Hmmm, that must be me ;-) I added New Relic to our server. I'll see if I can disable it for this site. António: send me an email if you want to discuss this further.
Imar
Hi all,
New TFS 21052 has been created against the bug, thanks.
BR, Oleg QA
Hi Oleg and Nicolai,
Thanks for your feedback.
Best regards,
António Ramos
Hi António
The problem TFS#21052 "Adding comments on a product and then saving it, resets the comments and ratings count on the product database" has now been fixed in version 8.8.0.1
You are able to find this build in the download section:
http://developer.dynamicweb-cms.com/downloads/dynamicweb-8.aspx
Please contact Dynamicweb Support if you need any additional help regarding this.
Kind Regards
Dynamicweb Support
Kristian Kirkholt
Hi Kristian,
I run a few tests and when we insert a new comment the productRating is not changed (see screencast).
http://screencast.com/t/Hx5AkJCff
Best regards,
António Ramos
I cannot reproduce this - not with pressing save and close either.
What happens if you do it on a product with 2 comments? (You did upgrade to 8.8.0.1, right?)
(99*5 + 1*1)/100 = 4,96 and it is rounded to one decimal giving 5,0 - maybe that is your issue.
BR Nicolai
Hi Nicolai,
Yes it's with 8.8.0.1.
Even with a product with two comments the issue is the same. See screencast please http://screencast.com/t/zlSbxtfXe
Best regards,
António Ramos
It looks that the video is cut at the beginning you can see if you forward a little bit the video that the product have only two comments (one active and other not) and the commentCount is always showing 2 (it shouldn't have one?). You see also that even if we add a new comment the productRating is not changed.
BR,
António Ramos
I need a URL. Cannot reproduce.
thecount.dw-demo.com
If rating = 0 - it is not part of the rating. 0 means it is just a comment.
So try to make a real life test. 2 active comments with, say 3 and 4 in rating and a comment in each of them.
Hi Nicolai,
From what i see in your dumps we can assume that the calculation of the productCommentCount and the ProductRating are using the inactive comments? I dont think that is the right behaviour.
Best regards,
António Ramos
Yes, that is right.
I've made a feature request for 8.8.1 to only include the active ones.
You must be logged in to post in the forum