bartek
2008-06-30 11:30:16 UTC
Hi,
Would it be feasible to implement a kind of a "guard" against concurrent
edits of the same object? I mean this: if I open a form to edit, and
while I'm typing another guy opens the same form, edits and saves, then
when I save the form the other guy's changes will be silently
overwritten, and nobody would be notified. In a multi-user environment
this can cause serious issues.
I see two ways to solve it: first is MoinMoin-like, the other would be
to store original data and load time in a form and upon submission
checking if modification date has been changed, and if so then it would
be possible to check if there are conflicts.
What do you think?
Bartek
Would it be feasible to implement a kind of a "guard" against concurrent
edits of the same object? I mean this: if I open a form to edit, and
while I'm typing another guy opens the same form, edits and saves, then
when I save the form the other guy's changes will be silently
overwritten, and nobody would be notified. In a multi-user environment
this can cause serious issues.
I see two ways to solve it: first is MoinMoin-like, the other would be
to store original data and load time in a form and upon submission
checking if modification date has been changed, and if so then it would
be possible to check if there are conflicts.
What do you think?
Bartek
--
"feelings affect productivity. (...) unhappy people write worse
software, and less of it."
Karl Fogel, "Producing Open Source Software"
"feelings affect productivity. (...) unhappy people write worse
software, and less of it."
Karl Fogel, "Producing Open Source Software"