In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000617 [In-Portal CMS] Data Management task N/A 2010-03-14 15:57 2010-06-10 13:44
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000617: Automate record creation in temp tables
Description I propose we move code

if ($object->IsTempTable()) {

into kDBItem::Create method, so when sub-item is being create in temp table, then it's ID is automatically assigned.
Additional Information Also, when using temp tables and you are in OnAfterItemCreate method, then $object->GetID() will return 0 instead of -1/-2/etc., because setTempID() is called after kDBItem::Create() method is executed completely.

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker