In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
740 [In-Portal CMS] Data Management bug report always 2010-05-21 02:34 2010-06-10 13:44
alex  
alex  
normal  
closed 5.0.3  
fixed  
 
none 5.0.4-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/20e6b0b6fd07a03b
0
0000740: Original fields are not reset after kDBItem::Update method call
Original fields allows to check if any fields were changed during last create/update operation. They are especially useful in OnAfterItemCreate and OnAfterItemUpdate events.

Problem happens, when I change some fields and call kBDItem::Update() method twice. In this case fields, that was changed during first update are also considered as changed during second update as well.
related to 0000724closed  (5.0.4)alex Original field values are not set after kDBItem::Create method call 
patch original_field_values_on_update.patch (368) 2010-05-21 02:34
http://tracker.in-portal.org/file_download.php?file_id=574&type=bug
Issue History
2010-06-10 13:44 alex Status resolved => closed
2010-06-10 13:44 alex Note Added: 0002408
2010-05-23 04:44 alex Note Added: 0002288
2010-05-23 04:44 alex Status reviewed and tested => resolved
2010-05-23 04:44 alex Fixed in Version => 5.0.4-B1
2010-05-23 04:44 alex Resolution open => fixed
2010-05-23 04:44 alex Changeset attached 5.0.x r13598
2010-05-23 00:06 Dmitry Note Added: 0002287
2010-05-23 00:06 Dmitry Assigned To !COMMUNITY => alex
2010-05-23 00:06 Dmitry Status needs testing => reviewed and tested
2010-05-21 02:35 alex Assigned To => !COMMUNITY
2010-05-21 02:35 alex Developer => alex
2010-05-21 02:35 alex Status active => needs testing
2010-05-21 02:35 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/20e6b0b6fd07a03b
2010-05-21 02:34 alex Relationship added related to 0000724
2010-05-21 02:34 alex New Issue
2010-05-21 02:34 alex File Added: original_field_values_on_update.patch

Notes
(0002287)
Dmitry   
2010-05-23 00:06   
Tested good please commit.
(0002288)
alex   
2010-05-23 04:44   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000740: Original fields are not reset after kDBItem::Update method call
(0002408)
alex   
2010-06-10 13:44   
Closing since version 5.0.4 is released.