In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ]  Related Changesets ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001212 [In-Portal CMS] Data Management bug report always 2012-02-22 06:04 2012-07-25 05:31
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B2
Status closed Product Version 4.3.9 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001212: Category item reviews counter sometimes isn't updated
Description Each category item (e.g. link, article) has CachedReviewsQty field to store total review (comment) count for that item.

However this counter isn't properly updated, when Administrator deletes a review (comment) from dedicated Reviews (Comments) section in Admin Console.

Also I've noticed "Division by zero" PHP warning when I change rating in a link's review, when link has only 1 review.
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-bugs/sXlORuKgm5A/discussion
Change Log Message Fixes invalid review counting for category item
Estimate Points 1
Attached Files patch file icon review_counting_fix_core.patch [^] (3,609 bytes) 2012-02-22 06:04 [Show Content]
patch file icon review_counting_fix_modules.patch [^] (2,352 bytes) 2012-02-22 06:04 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0004473)
alex (manager)
2012-02-22 06:05

Will test all together later.
User avatar (0004474)
alex (manager)
2012-02-22 06:08

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001212: Category item reviews counter sometimes isn't updated
User avatar (0004969)
alex (manager)
2012-07-25 05:31

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r15126
Timestamp: 2012-02-22 06:08:22
Author: alex
Details ] Diff ]
Fixes 0001212: Category item reviews counter sometimes isn't updated
mod - /in-portal/branches/5.2.x/core/units/reviews/reviews_event_handler.php Diff ] File ]
Modules :: In-News: 5.2.x r15125
Timestamp: 2012-02-22 06:07:47
Author: alex
Details ] Diff ]
Bug 0001212: Category item reviews counter sometimes isn't updated
mod - /modules/in-news/branches/5.2.x/install/upgrades.sql Diff ] File ]
Modules :: In-Link: 5.2.x r15124
Timestamp: 2012-02-22 06:07:35
Author: alex
Details ] Diff ]
Bug 0001212: Category item reviews counter sometimes isn't updated
mod - /modules/in-link/branches/5.2.x/install/upgrades.sql Diff ] File ]
Modules :: In-Commerce: 5.2.x r15123
Timestamp: 2012-02-22 06:07:22
Author: alex
Details ] Diff ]
Bug 0001212: Category item reviews counter sometimes isn't updated
mod - /w/in-commerce/branches/5.2.x/install/upgrades.sql Diff ] File ]
Modules :: In-Bulletin: 5.2.x r15122
Timestamp: 2012-02-22 06:06:26
Author: alex
Details ] Diff ]
Bug 0001212: Category item reviews counter sometimes isn't updated
mod - /modules/in-bulletin/branches/5.2.x/install/upgrades.sql Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:31 alex Note Added: 0004969
2012-07-25 05:31 alex Status resolved => closed
2012-02-22 06:08 alex Changeset attached 5.2.x r15126
2012-02-22 06:08 alex Note Added: 0004474
2012-02-22 06:08 alex Status reviewed and tested => resolved
2012-02-22 06:08 alex Fixed in Version => 5.2.0-B2
2012-02-22 06:08 alex Resolution open => fixed
2012-02-22 06:08 alex Assigned To !COMMUNITY => alex
2012-02-22 06:07 alex Changeset attached 5.2.x r15125
2012-02-22 06:07 alex Changeset attached 5.2.x r15124
2012-02-22 06:07 alex Changeset attached 5.2.x r15123
2012-02-22 06:06 alex Changeset attached 5.2.x r15122
2012-02-22 06:05 alex Note Added: 0004473
2012-02-22 06:05 alex Status needs testing => reviewed and tested
2012-02-22 06:05 alex Assigned To => !COMMUNITY
2012-02-22 06:05 alex Developer => alex
2012-02-22 06:05 alex Status active => needs testing
2012-02-22 06:05 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/sXlORuKgm5A/discussion
2012-02-22 06:04 alex File Added: review_counting_fix_modules.patch
2012-02-22 06:04 alex New Issue
2012-02-22 06:04 alex File Added: review_counting_fix_core.patch
2012-02-22 06:04 alex Change Log Message => Fixes invalid review counting for category item
2012-02-22 06:04 alex Estimate Points => 1



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker