In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
404 [In-Portal CMS] Data Management bug report always 2009-10-23 05:56 2010-01-11 22:05
alex  
alex  
normal  
closed 5.0.2-B1  
fixed  
 
none 5.0.2-B1  
0
0000404: Event parameter "temp_id" not set, when OnAfterCopyToLive event is called
Event "OnAfterCopyToLive" is called only from administrative console, when changed record is saved from temporary editing table to live table. It has two parameters: id (id of live record, that was created/updated) and temp_id (id of temp record, that was used).

Both parameters are given, when item has subitems (e.g. saving order, which has order items), but in case, when item doesn't have any subitems, like manufacturer parameter "temp_id" is not given.
patch temp_id_not_set_for_OnAfterCopyToLive_event.patch (798) 2009-10-23 05:56
http://tracker.in-portal.org/file_download.php?file_id=118&type=bug
Issue History
2010-01-11 22:05 Dmitry Note Added: 0001341
2010-01-11 22:05 Dmitry Status resolved => closed
2009-11-03 07:57 alex Note Added: 0001033
2009-11-03 07:57 alex Status reviewed and tested => resolved
2009-11-03 07:57 alex Fixed in Version => 5.0.2-B1
2009-11-03 07:57 alex Resolution open => fixed
2009-11-03 07:57 alex Changeset attached 5.0.x r12868
2009-10-28 01:24 Dmitry Note Added: 0001013
2009-10-28 01:24 Dmitry Assigned To !COMMUNITY => alex
2009-10-28 01:24 Dmitry Status needs testing => reviewed and tested
2009-10-25 13:45 alex Note Added: 0000958
2009-10-25 13:45 alex Target Version Icebox => 5.0.2-B1
2009-10-23 05:57 alex Assigned To => !COMMUNITY
2009-10-23 05:57 alex Status active => needs testing
2009-10-23 05:57 alex Target Version => Icebox
2009-10-23 05:56 alex New Issue
2009-10-23 05:56 alex File Added: temp_id_not_set_for_OnAfterCopyToLive_event.patch

Notes
(0000958)
alex   
2009-10-25 13:45   
Moving to 5.0.2 release as community input during 5.0.2-B1 version testing.
(0001013)
Dmitry   
2009-10-28 01:24   
Reviewed and tested ok
(0001033)
alex   
2009-11-03 07:57   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000404: Event parameter "temp_id" not set, when OnAfterCopyToLive event is called
(0001341)
Dmitry   
2010-01-11 22:05   
Closing completed tasks.