Project

General

Profile

Actions

Bug #83412

closed

Uncaught DatabaseRecordException if foreign record is deleted

Added by Andreas Kienast over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2017-12-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #81909: Error when editing a content which contains a link to a deleted recordClosed2017-07-18

Actions
Actions #1

Updated by Stephan Großberndt over 6 years ago

Nice! I had that several times in production but was never sure this was due to a core bug.

Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

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

Actions #8

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

Actions #9

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

Actions #10

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

Actions #11

Updated by Andreas Fernandez about 6 years ago

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

Updated by Tymoteusz Motylewski about 6 years ago

  • Related to Bug #81909: Error when editing a content which contains a link to a deleted record added
Actions #13

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

Actions #14

Updated by Andreas Fernandez about 6 years ago

  • Status changed from Under Review to Resolved
Actions #15

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF