Closed steampixel closed 2 months ago
Confirmed the bug with today's dev version of flux (15th December)
That was an excessively nasty bug caused by TYPO3 doing some strange things specifically when copying pages, when the FlexForm DS implementation depends on exactly the one value that is not part of the input record passed to the DS resolving logic. It took me over 6 hours of debugging to figure this out so I really hope you appreciate the fix!
Thank you so much! Typo3 is sometimes a nightmare. Now things have gotten a little better :-) Thank you! I'll check that out when I get a chance...
Typo3 12.4.7 Current dev branch of flux from October 10th Edit: Confirmed the bug with today's dev version of flux (15th December)
Create a new page template and insert the following file relation field:
<flux:field.inline.fal name="image" required="false" label="Bild" collapseAll="true"></flux:field.inline.fal>
Expected behavior: The new page should have the file reference attached to it
Observed behavior: The image field of the new page is empty. The original source page has now two image references. The table sys_file_reference now holds two records with uid_foreign pointing to the source page.
This problem affects only file references created with flux:field.inline.fal inside pages. Content elements are not affected. Also TCA fields are not affected by this bug.
How to clean up the database quickly after this crash (Remove all broken file references on pages, normally pid and uid_foreign are equal):
DELETE FROM sys_file_reference WHERE tablenames = 'pages' AND uid_foreign != pid