This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
Date30-Jun-2006 11:03:49 EEST
SubmitterFran├žois Burtin
Bug criticalityCosmeticBug
Browser versionFF
Bug statusNewBug
PageProvider useddefault
Servlet ContainerTomcat5.5
Operating SystemXP
_cmdlineform='reportform' status='NewBug' title= map='container=Servlet Container;java_version=Java version;pageprovider=PageProvider used;criticality=Bug criticality;x;status=Bug status;browser_version=Browser version;url=URL;os=Operating System'
Java version1.5

In ReferringPagesPlugin, when there's no referrers, the plugin writes ...nobody
To work, this plugin :

  1. gets all referers (...refmgr.findReferrers...)
  2. then :
    1. filters them if there're any
    2. else print ...nobody

But if you have referrers before filtering but none after filtering, it will write...nothing. Is it really a bug?

To have ...nobody after filtering, instead of else (at line 90), I put if( links == null || links.size() == 0 )

Here's the code :

            Collection   links  = refmgr.findReferrers( page.getName() );

            if( links != null && links.size() > 0 )
                filtering and more
            else    <--------------------------Here            
                wikitext = "...nobody";

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 30-Jun-2006 11:03 by Fran├žois Burtin.