InternalWikiException when deleting a non-referenced page right after its only 
attachment was deleted
-----------------------------------------------------------------------------------------------------

                 Key: JSPWIKI-413
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-413
             Project: JSPWiki
          Issue Type: Bug
          Components: Core & storage
    Affects Versions: 2.8
         Environment: Using the CachingProvider relying on the 
VersioningFileProvider and the CachingAttachmentProvider
            Reporter: Olivier Descout
            Priority: Minor


I had a JSPWikiStyles page stored in my wiki, with an attachment called 
"poppy.jpg" (basically this page was a clone of the JSPWikiStyles page of the 
JSPWiki site).
Logged as an administrator I deleted the attachment, then, right after, the 
page itself, which was not referenced by any other page of the wiki (but it 
still referenced its former attachment).

Then I got the following error page (whose URL is 
http://ses0iy94:8080/wiki/Delete.jsp?page=JSPWikiStyles which sounds OK) :

" JSPWiki has detected an error
" 
" Error Message
"     Refmgr out of sync: page JSPWikiStyles refers to JSPWikiStyles/poppy.jpg, 
which has null referrers.
" Exception
"     com.ecyrd.jspwiki.InternalWikiException
" Place where detected
"     com.ecyrd.jspwiki.ReferenceManager.pageRemoved(), line 612
" 
" If you have changed the templates, please do check them. This error message 
may show up because of that. [...]
"
" And don't worry - it's just a computer program. [...]

I truncated the 2 last paragraphs because I guess they are not really useful to 
you (by the way, this error page is another non-yet-localizable page... ;-) )

One last thing: I put this bug as minor since, as far as I've seen, the page 
looks like it has been deleted as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to