In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
866 [In-Portal CMS] Database bug report always 2010-09-17 02:40 2010-11-30 12:48
alex  
alex  
normal  
closed 5.1.0  
fixed  
 
none 5.1.1-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/13e9204136776126
0
0000866: Unable to create database record with given id in temp table
Recently I was trying to use $force_id parameter of kDBItem::Create method to create record with specific (not auto-increment as usual) id field value.

As a result I always ended with record, that have "-1" as id instead of given one.
child of 0000617closed  (5.0.4)alex Automate record creation in temp tables 
patch unable_to_force_new_record_id_in_temp_table.patch (872) 2010-09-17 02:40
http://tracker.in-portal.org/file_download.php?file_id=772&type=bug
Issue History
2010-11-30 12:48 Dmitry Note Added: 0003028
2010-11-30 12:48 Dmitry Status resolved => closed
2010-09-17 14:28 alex Note Added: 0002844
2010-09-17 14:28 alex Status reviewed and tested => resolved
2010-09-17 14:28 alex Fixed in Version => 5.1.1-B1
2010-09-17 14:28 alex Resolution open => fixed
2010-09-17 14:28 alex Changeset attached 5.1.x r13952
2010-09-17 10:19 Dmitry Note Added: 0002840
2010-09-17 10:19 Dmitry Assigned To !COMMUNITY => alex
2010-09-17 10:19 Dmitry Status needs testing => reviewed and tested
2010-09-17 02:42 alex Relationship added child of 0000617
2010-09-17 02:41 alex Assigned To => !COMMUNITY
2010-09-17 02:41 alex Developer => alex
2010-09-17 02:41 alex Status active => needs testing
2010-09-17 02:41 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/13e9204136776126
2010-09-17 02:40 alex New Issue
2010-09-17 02:40 alex File Added: unable_to_force_new_record_id_in_temp_table.patch

Notes
(0002840)
Dmitry   
2010-09-17 10:19   
Reviewed and tested, please commit.
(0002844)
alex   
2010-09-17 14:28   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000866: Unable to create database record with given id in temp table
(0003028)
Dmitry   
2010-11-30 12:48   
Closing released 5.1.1 task.