Bug #83412
closedUncaught DatabaseRecordException if foreign record is deleted
100%
Description
Scenario:¶
A TCA column on side "A" is of type "inline" and refers to a foreign table, called "B". A record in "A" has a reference to a record in "B". If the record in "B" gets deleted, editing the record in "A" in not possible anymore as an DatabaseRecordException is thrown.
How to reproduce¶
Install EXT:styleguide, open the page "inline 11" and delete the record of type "Form engine - inline 1:1 child". Editing the record "Form engine - inline 1:1 with relation filed on parent side" with UID 1 not possible anymore due to the mentioned exception.
Updated by Stephan Großberndt almost 7 years ago
Nice! I had that several times in production but was never sure this was due to a core bug.
Updated by Gerrit Code Review almost 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55197
Updated by Gerrit Code Review almost 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55197
Updated by Gerrit Code Review almost 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55197
Updated by Gerrit Code Review almost 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55197
Updated by Gerrit Code Review almost 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55197
Updated by Gerrit Code Review almost 7 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55197
Updated by Gerrit Code Review almost 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55450
Updated by Gerrit Code Review almost 7 years ago
Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55450
Updated by Gerrit Code Review almost 7 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55197
Updated by Andreas Fernandez almost 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset edfe775e9bc460dfe06219e839773e54d2c4a17a.
Updated by Tymoteusz Motylewski almost 7 years ago
- Related to Bug #81909: Error when editing a content which contains a link to a deleted record added
Updated by Gerrit Code Review almost 7 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55752
Updated by Andreas Fernandez over 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset c5b7dbbc1d8776eca95478a0e5b0d25e759b1193.