|
: -1 : 2 : 3 |
Situation: A user opens the document, reads it, at this time an agent or another user changes the document, then the user goes into edit mode, change the document, saves it and gets a warning: "Another copy of this document was saved while you were editing it. Save your changes also as a Save Conflict document?".
In some applications, the user should not have the right to create conflict - in such applications are unacceptable.
I propose to change the working principle, ie, alert the user at the very beginning (when he translates the document into edit mode) that the document was changed, then the need for this message will disappear. The best implementation would be in translating the document into edit mode (for example, by double-click) to get the document from the database again (recent Instance) and substitute it in Source.Document in Querymodechange. Thus, if the document has changed and it is not terrible, because the translation into edit mode, we will always have actual data. If the document is changed at this time, then give the message that the document is now changed by another user, and to prohibit a transition to edit mode, ask to perform this operation later.
To accelerate the opening of certain documents (if someone would need such a regime), can make it optional with the system items, such as SaveOptions, ie:
Updated: This is also spoken here.
|