[BUGFIX] Catch exception editing record with deleted relation
Editing a record with a deleted related record leads to an uncaught DatabaseRecordException. This patch catches the exception and ignores such records, but logs a warning. Due to possible errors occurring with certain DBMS (e.g. MySQL strict) columns may require a default value now in TCA. Resolves: #83412 Releases: master, 8.7, 7.6 Change-Id: I5adaf385443350ce245dd83da6e5f1a16d9c9afb Reviewed-on: https://review.typo3.org/55752 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Sascha Rademacher <sascha.rademacher+typo3@gmail.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Please register or sign in to comment