Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0
-
None
-
JSPWiki-3.0.0-svn-178
Description
- edit a page and enter some text
- click "Preview"
- click "Keep editing"
You get the edit.locked error message (telling you that it is you holding the lock).
Patch for EditActionBean proposal (additional test for the current user) :
if( lock != null && !lock.getLocker().equals( wikiContext.getCurrentUser().getName() ) ) { messages.add( new LocalizableMessage( "edit.locked", lock.getLocker(), lock.getTimeLeft() ) ); }