Feature #50391
closedFEATURE: Behaviour for TCA type inline to disable cascading delete
100%
Description
Deleting a record will also delete all records, which are configured as type inline (field, list) within.
In some cases you will show child records has type inline, but to disable the deletion of some child records.
An example are Customers with orders as type inline for display reason (Easier access).
Deleting the customer should not delete his orders, which will work without an existing customer since all relevant data will be stored within the order record itself like address etc.
I attached a patch which in my optionen solves this issue.
Files
Updated by Ingo Renner over 11 years ago
Would be great if you could avoid using double negative option names. Instead of "disableCascadingDelete" use "enableCascadingDelete" and default that to TRUE/1 to keep the current behavior.
Then feel free to push your patch to Gerrit for review. http://wiki.typo3.org/Contribution_Walkthrough_Tutorials
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22551
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22551
Updated by Gerrit Code Review about 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22551
Updated by Gerrit Code Review about 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22551
Updated by Christoph Niewerth about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 08c78c7b29c3e524eaf8c01a692632a332c28e0b.