|Title|Attachment deletion leaves ReferenceManager in a bad state
|Date|19-Jul-2006 19:01:30 EEST
|Submitter|Janne Jalkanen
|[Bug criticality]|MediumBug
|Browser version|any
|[Bug status]|OpenBug
|[PageProvider] used|VersioningFileProvider, BasicAttachmentProvider
|Servlet Container|tomcat 5.5
|Operating System|any
|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.
Place where detected
    com.ecyrd.jspwiki.ReferenceManager.pageRemoved(), line 596


--HarryMetske, 02-Mar-2007