TitleAuthorTag does not link user page correctly
Date24-Aug-2006 16:44:08 EEST
Version2.4.37
SubmitterCandid Dauth
Bug criticalityLightBug
Browser version*
Bug statusClosedBug
PageProvider usedVersioningFileProvider
Servlet Containertomcat-5.5
Operating SystemGNU/Linux
URL
Java versionsun-jdk1.5.0_07

I don't know if this is a bug in AuthorTag or in WikiEngine.pageExists(), at least one of them is not acting as it should. If I have a username that consists of lower case letters, AuthorTag doesn't link my user page even if it exists, because WikiEngine.pageExists() (called at line 52 in AuthorTag.java) returns false. Passing the author name through MarkupParser.cleanLink() fixes the problem.

Same problem in RecentChangesPlugin.java:160. Just saw BugLoginLowercaseUsernameCreatedHomepageIsCapitalizedRecentChangesDoesNotLinkup, don't know if it's exactly the same problem.


Yes, it is the same problem...


Bug closed, duplicate..

Add new attachment

In order to upload a new attachment to this page, please use the following box to find the file, then click on “Upload”.
« This page (revision-4) was last changed on 31-Mar-2007 19:19 by HarryMetske [RSS]