Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-608

Edit => Preview => Edit shows the pagelocked warning message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.0
    • Core & storage
    • 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() ) );
              }
      

      Attachments

        Activity

          People

            metskem Harry Metske
            metskem Harry Metske
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: