Rollback after delete record failure

failing test for #2344
Merge pull request #2359 from sly7-7/rollback-after-save-error

Rollback after delete record failure