Ticket #201 (closed Bug)
lockInfo incorrect after saving a document
|Reported by:||idzelis@…||Owned by:|
[jira2trac import : issue created on October 26, 2005 4:24:42 PM CEST http://issues.cocoondev.org/browse/DSY-201 ]
I modified the layout.xsl to display a warning in addition to the live/retired warnings. The warning looks at the lockInfo for the $document and if it has a lock, it displays a msg saying the document is currently being edited.
I've noticed that after saving a document, the lockInfo still reports that there is a lock being held, even though it is possible to edit the document without getting hitting the "document already locked" error. If you edit and then hit cancel, the lockInfo is corrected.
I'm thinking there may be a caching issue with the lockInfo element.