Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-290

PageRenamer leaves ReferenceManager in incorrect state + package move PageRenamerTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.x
    • 2.7.x
    • Core & storage
    • None
    • Ubuntu Linux 8.04
      JSPWiki-2.7.0-svn-36

    Description

      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)

      Attachments

        1. JSPWIKI-290.patch
          1 kB
          Harry Metske

        Activity

          People

            Unassigned Unassigned
            metskem Harry Metske
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: