Skip to content
Snippets Groups Projects
Commit edfe775e authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Andreas Wolf
Browse files

[BUGFIX] Catch DatabaseRecordException when 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
Change-Id: I5adaf385443350ce245dd83da6e5f1a16d9c9afb
Reviewed-on: https://review.typo3.org/55197


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarReiner Teubner <rteubner@me.com>
Tested-by: default avatarReiner Teubner <rteubner@me.com>
Reviewed-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
Tested-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
parent be68bd76
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment