|Title|Attachment deletion leaves ReferenceManager in a bad state
|Date|19-Jul-2006 19:01:30 EEST
|Version|2.4.20
|Submitter|Janne Jalkanen
|[Bug criticality]|MediumBug
|Browser version|any
|[Bug status]|ClosedBug
|[PageProvider] used|VersioningFileProvider, BasicAttachmentProvider
|Servlet Container|tomcat 5.5
|Operating System|any
|URL|
|Java version|jdk 1.5

To replicate:

# create page
# attach something
# delete attachment
# delete page

==> Exception



----

I just tested this scenario on 2.4.100, and still an exception:
{{{
JSPWiki has detected an error

Error Message
    Refmgr out of sync: page TestPage refers to TestPage/ux-g60.jpg, which has null referrers.
Exception
    com.ecyrd.jspwiki.InternalWikiException
Place where detected
    com.ecyrd.jspwiki.ReferenceManager.pageRemoved(), line 596

}}}

--HarryMetske, 02-Mar-2007

----
Tested again in 2.4.102 and 2.5.57 and I can't reproduce the problem. Closing the bug

--HarryMetske