CodersCare / gridelements

Be part of the future of TYPO3! Support Gridelements now and unlock exclusive early access to v13! The well-established Gridelements V12 elevates TYPO3 by bringing grid-based layouts to content elements, with powerful features like advanced drag & drop and real references. Supercharge your workflow and make daily tasks easier. Sponsor us here:
https://coders.care/for/crowdfunding/gridelements
GNU General Public License v3.0
5 stars 25 forks source link

[TASK] Add scheduler task to fix orphans #61

Open sypets opened 1 year ago

sypets commented 1 year ago

If the CType of a gridelement is changed to a non-gridelement, existing children will be orphaned. They still exist in the database, but are not visible in the backend list or page view.

This can now be fixed via a scheduler task: The connection between the (formerly) gridelements container and child is severed by setting tx_gridelements_container to 0 and setting the colpos to the value of the formerly gridelements parent.

Related: #58