In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1178 [In-Portal CMS] Data Management bug report always 2011-12-08 09:02 2012-07-25 05:32
alex  
alex  
normal  
closed 5.1.3  
fixed  
 
none 5.2.0-B1  
https://groups.google.com/d/topic/in-portal-bugs/GznZpLZnKuA/discussion
Fixes DBItem load by multiple fields failure processing
1
0001178: DBItem loading problem, when multiple keys are used
By default In-Portal looks for an ID of DBItem that is accessed from template in the url. When item ID is missing, but it's data needs to be displayed on a template, then "no_permission" template is shown.

As a part of customization process developer sometimes needs to load DBItem from database using not it's ID, but a combination of fields.
All works fine until nothing is loaded by a field combination.

In this case <inp2:prefix_Field name="IDField"/> tag returns "Array" field instead of "" as usual for unsuccessfully loaded DBItems.
related to 0001133closed  (5.2.0)Dmitry In-Commerce One-step Checkout 
patch dbitem_array_load_fix.patch (385) 2011-12-08 09:02
http://tracker.in-portal.org/file_download.php?file_id=1362&type=bug
Issue History
2012-07-25 05:32 alex Note Added: 0005029
2012-07-25 05:32 alex Status resolved => closed
2011-12-08 09:05 alex Note Added: 0004233
2011-12-08 09:05 alex Status reviewed and tested => resolved
2011-12-08 09:05 alex Fixed in Version => 5.2.0-B1
2011-12-08 09:05 alex Resolution open => fixed
2011-12-08 09:05 alex Assigned To !COMMUNITY => alex
2011-12-08 09:05 alex Changeset attached 5.2.x r14855
2011-12-08 09:05 alex Note Added: 0004232
2011-12-08 09:05 alex Status needs testing => reviewed and tested
2011-12-08 09:04 alex Relationship added related to 0001133
2011-12-08 09:04 alex Assigned To => !COMMUNITY
2011-12-08 09:04 alex Developer => alex
2011-12-08 09:04 alex Status active => needs testing
2011-12-08 09:04 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/GznZpLZnKuA/discussion
2011-12-08 09:02 alex New Issue
2011-12-08 09:02 alex File Added: dbitem_array_load_fix.patch
2011-12-08 09:02 alex Change Log Message => Fixes DBItem load by multiple fields failure processing
2011-12-08 09:02 alex Estimate Points => 1

Notes
(0004232)
alex   
2011-12-08 09:05   
Will test all together later.
(0004233)
alex   
2011-12-08 09:05   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001178: DBItem loading problem, when multiple keys are used
(0005029)
alex   
2012-07-25 05:32   
Since 5.2.0 version was released.