#18 Autosave or notify changed

open
nobody
plugins (3)
5
2007-09-19
2007-09-19
Geert Janssens
No

A useful feature for the addressbook (and possibly also for other modules).

When an address record is changed and the user moves to another record without explicitly saving the changes, these changes are lost.

This can be fixed in two possible ways:

* either implement autosave, which means: whenever a record has been changed, save the changes back to LDAP before moving to another record. This is how database applications usually work. If this is too intrusive, it could be setup as optional with a configuration switch.

* or detect changes, and warn the user if he tries to leave the current record without saving the changes. This could be in the form of a dialog box asking what to do with the changes: save, discard, or cancel the leave action. This is the way normal user applications usually work.

Note that this problem of lost changes doesn't happen with new records, but only when making changes to existing records.

Discussion