From: SourceForge.net <no...@so...> - 2005-05-27 08:45:43
|
Bugs item #1160538, was opened at 2005-03-10 11:20 Message generated for change (Comment added) made by ralfbecker You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=554338&aid=1160538&group_id=78745 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: infolog Group: 1.0 release branch Status: Open Resolution: None Priority: 5 Submitted By: G. Leppin (gleppin) Assigned to: Ralf Becker (ralfbecker) Summary: InfoLog: possible data loss with granted rights Initial Comment: If a user grants another user edit (and/or delete) access to the data of his infolog, it might occur that one user edits an infolog-entry while the other user deletes exactly this infolog-entry meanwhile. If the first user, who has edited the data, then presses the save (or apply) button, NO data is saved (because the data-record is missing/deleted). He will neither be warned nor will he notice, that no data is saved until he tries to find the infolog-entry again, thus thinking, the edited data is updated and still present. A possible solution for this type of situation would be some kind of locking-mechanism, where a data-record is locked while it is edited by one user, so no other action, like edit and/or delete from other users (with granted rights) is possible at the same time. ---------------------------------------------------------------------- >Comment By: Ralf Becker (ralfbecker) Date: 2005-05-27 10:45 Message: Logged In: YES user_id=208526 Hi, locking is no good idea in a "state-less" web application. Imagine you open an entry to edit it and then click on the close (X) button of the browser or loose the connection. What I will implement for the next release is a warning, that someone else has changed or deleted the entry and the user can decide then what he wants to do. Ralf ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=554338&aid=1160538&group_id=78745 |