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

Ingmar Schlecht ingmar at typo3.org
Thu Feb 8 10:23:47 CET 2007


Hi Ingo,

Ingo Schmitt wrote:
> if a change of the existing hook is not possible, it would be great to
> introduce a new one, with the changed functionality.

I don't think we should introduce a new hook with just this change.

You can easily translate from the NEW... id to the real id by using the
$tce->substNEWwithIDs array.

Of course it would have been much better if the real id would have been
passed to the hook from the beginning on, but unfortunately that wasn't
the case and changing it now would break backwards compatibility.

I have changed the comment describing the hook so this gets clear, see
attached patch for details.

cheers
Ingmar


More information about the TYPO3-team-bugs mailing list