groupoffice icon indicating copy to clipboard operation
groupoffice copied to clipboard

Changes on failure

Open michalcharvat opened this issue 2 years ago • 2 comments

When you try delete record that has some database restrictions like FK, you will get or won't get an error message (tree vs grid) however even the record was not deleted from database, you receive info with changes so the record is removed from the grid. In case of notes you can simply change notebook and the note will be back.

image

I changed FK in notes just for test to confirm the issue thats in other modules too.

michalcharvat avatar Aug 18 '23 09:08 michalcharvat

Hi Michal,

How exactly can I reproduce this issue?

mschering avatar Aug 22 '23 06:08 mschering

@mschering Hi, It is pretty simple - just change the foreign key in database for notes_note_images table for a while to restrict instead of cascade and try delete the note.

michalcharvat avatar Aug 23 '23 15:08 michalcharvat

Fixed in the next 6.8

mschering avatar Jun 17 '24 12:06 mschering