In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1200 [In-Portal CMS] Data Management bug report always 2012-02-01 14:07 2012-07-25 05:31
Dmitry  
alex  
normal  
closed  
fixed  
 
none 5.2.0-B2  
https://groups.google.com/d/topic/in-portal-bugs/c4lKyvAqOMs/discussion
fixed update of CachedDescendantCatsQty, TreeLeft and TreeRight on category delete
1
0001200: Some Fields in Categories table aren't updated on Category delete
1. Field CachedDescendantCatsQty in Categories table isn't updated on when CategoryA sub-category is deleted.

This results in "+" icon showing next to this category in tree, but when pressed no sub-categories are displayed.

2. TreeLeft and TreeRight fields are not updated to, resulting "TreeRight minus TreeLeft" no longer return recursive sub-category count of given category.
patch incorrect_category_counters_fix.patch (3,860) 2012-02-07 08:38
http://tracker.in-portal.org/file_download.php?file_id=1508&type=bug
Issue History
2012-07-25 05:31 alex Note Added: 0004977
2012-07-25 05:31 alex Status resolved => closed
2012-02-07 08:40 alex Note Added: 0004452
2012-02-07 08:40 alex Status reviewed and tested => resolved
2012-02-07 08:40 alex Fixed in Version => 5.2.0-B2
2012-02-07 08:40 alex Resolution open => fixed
2012-02-07 08:40 alex Assigned To !COMMUNITY => alex
2012-02-07 08:40 alex Changeset attached 5.2.x r15108
2012-02-07 08:39 alex Note Added: 0004451
2012-02-07 08:39 alex Status needs testing => reviewed and tested
2012-02-07 08:39 alex Assigned To => !COMMUNITY
2012-02-07 08:39 alex Developer => alex
2012-02-07 08:39 alex Status active => needs testing
2012-02-07 08:39 alex Estimate Points 0 => 1
2012-02-07 08:38 alex File Added: incorrect_category_counters_fix.patch
2012-02-01 14:07 Dmitry New Issue
2012-02-01 14:07 Dmitry Reference => https://groups.google.com/d/topic/in-portal-bugs/c4lKyvAqOMs/discussion
2012-02-01 14:07 Dmitry Change Log Message => fixed update of CachedDescendantCatsQty, TreeLeft and TreeRight on category delete
2012-02-01 14:07 Dmitry Estimate Points => 0

Notes
(0004451)
alex   
2012-02-07 08:39   
Will test all together later.
(0004452)
alex   
2012-02-07 08:40   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001200: Some Fields in Categories table aren't updated on Category delete
(0004977)
alex   
2012-07-25 05:31   
Since 5.2.0 version was released.