contao/core

DC Tables stores invalid data records

Closed this issue · 4 comments

The DC table saves data even if an error occurs in the edit mask. This leads to invalid data records.

Think about a user is editing an event where a duplicated alias exist.

  • Title is saved
  • Exception is thrown then saving the alias
  • Date is not updated

If an error occurs no data should be saved. This behaviour leads to invalid data records if the user stop working on the data record.

We cannot.

Couldn't transactions solve the issue since Contao 4.5 uses innodb?