Review main Merged

55197[BUGFIX] Catch DatabaseRecordException when editing record with deleted relation

Andreas Kienast CR +2 V +2 Easy +33 −3 updated 01/27/18, 11:10

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2