incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske (JIRA)" <j...@apache.org>
Subject [jira] Created: (JSPWIKI-290) PageRenamer leaves ReferenceManager in incorrect state + package move PageRenamerTest
Date Wed, 11 Jun 2008 20:06:44 GMT
PageRenamer leaves ReferenceManager in incorrect state + package move PageRenamerTest
-------------------------------------------------------------------------------------

                 Key: JSPWIKI-290
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-290
             Project: JSPWiki
          Issue Type: Bug
          Components: Core & storage
    Affects Versions: 2.7.x
         Environment: Ubuntu Linux 8.04
JSPWiki-2.7.0-svn-36
            Reporter: Harry Metske
            Priority: Minor
         Attachments: JSPWIKI-290.patch

The current PageRenamer apparently does not update the ReferenceManager correctly.
This can best be demonstrated by putting a [{ReferredPagesPlugin}] on the referring page,
and putting a [{ReferringPagesPlugin}] on the referred page.
Initially both plugins will show correct output.
After renaming either of the two pages, both plugins don't show Referred/Referring pages anymore.
It can only be corrected by a cold JSPWiki start (deleting refmgr*).

Attached a fix to solve this.

Also the PageRenamer has been moved from package com.ecyrd.jspwiki to com.ecyrd.jspwiki.content,
can this move also be done for the PageRenamerTest ?
(I assume you don't need a patch for this)

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


Mime
View raw message