You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2009/11/14 19:18:39 UTC
[jira] Resolved: (JSPWIKI-608) Edit => Preview => Edit shows the
pagelocked warning message
[ https://issues.apache.org/jira/browse/JSPWIKI-608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harry Metske resolved JSPWIKI-608.
----------------------------------
Resolution: Fixed
Assignee: Harry Metske
Fixed in 3.0.0-svn-179
> Edit => Preview => Edit shows the pagelocked warning message
> -------------------------------------------------------------
>
> Key: JSPWIKI-608
> URL: https://issues.apache.org/jira/browse/JSPWIKI-608
> Project: JSPWiki
> Issue Type: Bug
> Components: Core & storage
> Affects Versions: 3.0
> Environment: JSPWiki-3.0.0-svn-178
> Reporter: Harry Metske
> Assignee: Harry Metske
> Priority: Minor
> Fix For: 3.0
>
>
> * 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) :
> {code}
> if( lock != null && !lock.getLocker().equals( wikiContext.getCurrentUser().getName() ) )
> {
> messages.add( new LocalizableMessage( "edit.locked", lock.getLocker(), lock.getTimeLeft() ) );
> }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.