[TYPO3-ttnews] Ext: news - copying news does not copy IRRE content elements

Andreas Kiessling kiessling at pluspol.info
Thu May 31 11:37:14 CEST 2012


Hi,

we are using news with the IRRE content elements (git checkout)
Since the relation is now stored in a mm table, tcemain just seems to
treat it like a group or select field and does not make a "deep copy"
(remapListedDBRecords_procInline seems to responsible here).

We currently "fixed" this by unsetting the content_elements field in TCA
in the processCmdmap_preProcess hook if the action is "copy" so the
content elements are not referenced twice. But a real copy with all
elements would definitely be better.

Is there a suitable hook to catch the copy operation and handle that?
Tcemain does a lot of magic things there, and you don't want to screw
with tcemain ;)
I usually use a parent pointer and sorting field in the foreign table to
handle that, which would be a breaking change. Are there other
advantages in using a mm table here?

Kind regards and thanks for the awesome extension,
Andreas


More information about the TYPO3-project-tt-news mailing list