Issue Bug Closed

#83412Uncaught DatabaseRecordException if foreign record is deleted

Andreas Kienast 12/22/17, 11:18 updated 10/02/18, 10:53

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.

Reviews 3