You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2008/06/11 22:06:44 UTC

[jira] Created: (JSPWIKI-290) PageRenamer leaves ReferenceManager in incorrect state + package move PageRenamerTest

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.


[jira] Resolved: (JSPWIKI-290) PageRenamer leaves ReferenceManager in incorrect state + package move PageRenamerTest

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Janne Jalkanen resolved JSPWIKI-290.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.x

Fix is in 2.7.0-svn-37.

> 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
>             Fix For: 2.7.x
>
>         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.