[TYPO3-irre] IRRE + dbal without pid :)
Nikolas Hagelstein
hagelstein at shr.cc
Thu May 3 15:35:56 CEST 2007
Oliver Hader wrote:
> Yepp... if the parent relates to unsaved (new) child records there
> will be an entry on $this->remapStack in TCEmain. This stack will be
> processed if all children have been saved and afterwards the parent
> record gets updated by calling t3lib_TCEmain::updateDB().
> Unfortunatelly this method doesn't have any hooks. A dirty workaround
> could be to use any of the processDatamap_* hooks to revert the entry
> for the parent table on $this->remapStack.
Hmm i tried to remove the particular entry from the stack. This results
in an incomplete
intermediate tabel entry: Meaning the id of the parent record is missing
(i.e 0).
I thought it would be set at creation time if it is known. Could you
enlighten me?
> So go ahead with a feature request for DBAL in bugtracker if you'd
> like to see this one day... ;-)
Not the the first one that came up during this project ;)
Bye,
NIkolas
More information about the TYPO3-project-irre
mailing list