In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
636 [In-Portal CMS] Data Management bug report always 2010-03-22 15:28 2010-05-11 02:59
alex  
alex  
normal  
closed 5.0.3-B1  
fixed  
 
none 5.0.3-B2  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/d6e97632e600776c
0
0000636: Warnings on category update (before redirect)
There are warnings on category update in count: "translatable field count" * ("language column per field count" - 1). So we have 5 columns per field minus one multiplying to 3 receiving: 12 warnings.

Warnings are raised because kDBItem::Load method uses all columns from database and then assigns them to kDBItem::FieldValues attribute. Later on update for "l2_" and "lN_" columns we are getting warnings, that they are not present in kDBItem::Fields array, since kMultiLanguage formatter only creates field definitions for primary language fields only.
patch warnings_on_category_update_before_redirect.patch (1,182) 2010-03-22 15:28
http://tracker.in-portal.org/file_download.php?file_id=397&type=bug
Issue History
2010-05-11 02:59 alex Note Added: 0002099
2010-05-11 02:59 alex Status resolved => closed
2010-04-06 03:11 alex Note Added: 0001807
2010-04-06 03:11 alex Status reviewed and tested => resolved
2010-04-06 03:11 alex Fixed in Version => 5.0.3-B2
2010-04-06 03:11 alex Resolution open => fixed
2010-04-06 03:11 alex Assigned To !COMMUNITY => alex
2010-04-06 03:11 alex Changeset attached 5.0.x r13338
2010-04-03 22:09 Dmitry Note Added: 0001769
2010-04-03 22:09 Dmitry Status needs testing => reviewed and tested
2010-03-24 04:49 alex Note Deleted: 0001724
2010-03-24 04:49 alex version 5.0.2 => 5.0.3-B1
2010-03-22 15:29 alex Note Added: 0001725
2010-03-22 15:29 alex Assigned To => !COMMUNITY
2010-03-22 15:29 alex Developer => alex
2010-03-22 15:29 alex Status active => needs testing
2010-03-22 15:29 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/d6e97632e600776c
2010-03-22 15:28 alex Note Added: 0001724
2010-03-22 15:28 alex New Issue
2010-03-22 15:28 alex File Added: warnings_on_category_update_before_redirect.patch

Notes
(0001725)
alex   
2010-03-22 15:29   
To test enable DBG_REDIRECT option in debug.php file and then try to save category/section.
(0001769)
Dmitry   
2010-04-03 22:09   
Patch tested okay!
(0001807)
alex   
2010-04-06 03:11   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000636: Warnings on category update (before redirect)
(0002099)
alex   
2010-05-11 02:59   
Closing all tasks from released versions.