Project

General

Profile

Actions

Feature #50391

closed

FEATURE: Behaviour for TCA type inline to disable cascading delete

Added by Christoph Niewerth almost 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-07-24
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

Actions #1

Updated by Ingo Renner almost 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

Actions #2

Updated by Gerrit Code Review almost 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

Actions #3

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22551

Actions #4

Updated by Gerrit Code Review over 10 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22551

Actions #5

Updated by Gerrit Code Review over 10 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22551

Actions #6

Updated by Christoph Niewerth over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF