[TYPO3-bugs] RFC: Bug 4446 tcemain: Hook processDatamap_afterDatabaseOperations and insert operations

Ingo Schmitt mailinglisten at i-schmitt.de
Wed Jan 31 09:25:50 CET 2007


Type: Bugfix

Description:
When using the hook processDatamap_afterDatabaseOperations to execute 
your own code after the database operation, not the new insert_id ist 
given to the hook, but the temporarily ID NEW...... . So you can't refer 
to this new id.

Sinve insertDB already returns the new insert_id, the new ID should be 
stored in $id, to have it availiabe in the hook.

Branches: 4.0.4, 4.1 Beta 3

Patch is attached to:
http://bugs.typo3.org/view.php?id=4446


Regards

ingo



Mit freundlichen Gruessen
-- 
Ingo Schmitt                        mailto:is at marketing-factory.de
Marketing Factory Consulting GmbH   http://typo3.marketing-factory.de/
Content Management mit Typo3: Beratung - Schulung - Realisierung


More information about the TYPO3-team-bugs mailing list