#3047 Problem deleting entry with unsaved changes
Closed: Fixed None Opened 11 years ago by edewata.

If an entry is modified but not yet saved, deleting the entry will generate an error because the UI tries to update/refresh the entry but the entry is already deleted.

Steps to reproduce:
1. Open an entry, modify the fields, don't click Update.
2. Select Delete, click Apply.

Actual results:
Two dialog boxes will appear, the Unsaved Changes and the IPA/Operations Error.

Expected results:
One option is to show a confirmation dialog like this:

Deleting <entity>
-------------------------------------------
This page has unsaved changes. Are you sure
you want to delete this entry?

                           [Delete][Cancel]

Another option is to ignore the changes and delete the entry right away.


I think the dialog is useful only on mistake. Another dialog will slow down the user if he really want to delete the entry. I'm in favour of just ignoring the changes - reset the form before delete so it won't trigger the dirty dialog.

Confirmation of the action can be considered as selecting the action in action list (#3035).

master:

  • 22b7d7e Fixed problem while deleting entry with unsaved changes

ipa-3-0:

  • db780bf Fixed problem while deleting entry with unsaved changes

Moving closed RC1 tickets to Beta 3.

Metadata Update from @edewata:
- Issue assigned to pvoborni
- Issue set to the milestone: FreeIPA 3.0 Beta 3

7 years ago

Login to comment on this ticket.

Metadata