Extbase: delete last IRRE-children does not work
This Bug exists at least since TYPO3 6.2.
If you want to delete the children of an element, it works, but not with the last one.To reproduce follow these steps:
- intall the attached extension in TYPO3 8.7
- create a page with a TS-Template and add the extension's template
- add this to your setup to get an output: page.20 < styles.content.get
- set the storage pid of the extension (e.g. with the constant editor)
- go to the BE-Module list and create a record of type father and add some children (at least 2)
- add the plugin of the extension to see the output in the frontend
- edit your father-record in the frontend. You should see the father-title and the children-titles.
- delete all children except one child and save -> it works.
- edit again, delete the last child and save -> it does not work, the child does not get deleted.