This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleCannot update reffer links after rename
Date17-Feb-2006 17:48:20 EET
Bug criticalityBadBug
Browser versionFirefox
Bug statusNewBug
PageProvider used
Servlet ContainerTomcat 5.5
Operating SystemWindow XP
Java versionjava 5.0

Please check where line 113 should not be called before getReferrersCollection().

Here is a snapshot:


        // Get the collection of pages that the refered to the old name (the From name)...
        Collection referrers = getReferrersCollection( oldName );

        // If there were pages refering to the old name, update them to point to the new name...
        if( referrers != null )
            updateReferrersOnRename( oldName, newName, changeReferrers, newNameCleaned, referrers );
            // XXX: Questionable behaviour!

So, reffers always be null.

BTW, code m_wikiEngine.getReferenceManager().clearPageEntries(oldName); is called in the updateReferrersOnRename() method.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 17-Feb-2006 17:48 by benx.