In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
164 [In-Portal CMS] Data Management bug report sometimes 2009-07-31 08:33 2009-10-03 07:57
alex  
alex  
critical  
closed 4.3.9  
fixed  
 
none 5.0.1  
0
0000164: Problems when giving ids directly "kDBEventHandler::StoreSelectedIDs" method (using second parameter)
Method "kDBEventHandler::StoreSelectedIDs" is used to get IDs selected in grid and save them to session. That IDs are used later to traverse through selected items in editing form. This method have optional second parameter, that allows to give IDs directly to method and not from grid.

Although it appears, that approach, when IDs are given directly doesn't completely emulate case, when IDs are gathered from grid. This results in "ID not passed" warning on edit form just after IDs were set this way.
Issue History
2009-10-03 07:57 administrator Note Added: 0000810
2009-10-03 07:57 administrator Status resolved => closed
2009-08-05 04:04 alex Fixed in Version => 5.0.1
2009-08-05 04:03 alex Note Added: 0000243
2009-08-05 04:03 alex Status reviewed and tested => resolved
2009-08-05 04:03 alex Resolution open => fixed
2009-08-05 04:03 alex Changeset attached 5.0.x r12193
2009-08-05 04:03 alex Note Added: 0000242
2009-08-04 19:15 Dmitry Priority normal => critical
2009-07-31 14:07 Dmitry Note Added: 0000205
2009-07-31 14:07 Dmitry Assigned To => alex
2009-07-31 14:07 Dmitry Status active => reviewed and tested
2009-07-31 14:07 Dmitry Target Version => 5.0.1
2009-07-31 08:33 alex New Issue

Notes
(0000205)
Dmitry   
2009-07-31 14:07   
Let's address this in 5.0.1
(0000242)
alex   
2009-08-05 04:03   
I've found two places to test this:
Mark 3 items (2 of them you can edit, but 1 cannot) in advanced view.

1. hit Edit button and then Save button (tests case, when $direct_ids parameter was given to StoreSelectedIDs method).
2. hit Approve button (tests case when "ids" parameter was set for event).
(0000243)
alex   
2009-08-05 04:03   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000164: Problems when giving ids directly "kDBEventHandler::StoreSelectedIDs" method (using second parameter)
(0000810)
administrator   
2009-10-03 07:57   
Closing issues from 5.0.1 version, because version was already released.