T3Voila / templavoilaplus

TYPO3 Extension TemplaVoilà! Plus for TYPO3 8/9/10/11/12 LTS
https://extensions.typo3.org/extension/templavoilaplus/
GNU General Public License v2.0
26 stars 27 forks source link

Copying a page references source tt_content elements instead of new, copied tt_content elements #538

Closed jpmschuler closed 1 year ago

jpmschuler commented 1 year ago

Imagine a simple page A with content elements A.1 and A.2 If I copy that page to create a page B, I get a copy of the elements B.1 and B.2 - however the page module still references A.1 and A.2 instead of B.1 and B.2. Thus, rendering the copy broken.

Before it was the case that all "owned" content elements get references to their new copies, while only "foreign" content elements kept their reference. Seems like some DataHandler wouldn't be run or something.

TYPO3 11LTS, PHP 8.1

jpmschuler commented 1 year ago

I could circumvent this. A look into the TYPO3 logs gave me two different errors: a) No site found as parent - so I copied into a specific branch where a site is b) target site has different languages - so I copied into a specific branch with same languages

Afterwards this worked.

Dunno if that is a core bug or a TVP DataHandler bug, but at least I can work now. Closing it for time being until somebody else can reproduce.