[ 
https://issues.apache.org/jira/browse/JSPWIKI-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725088#action_12725088
 ] 

Wouter Van daele commented on JSPWIKI-572:
------------------------------------------

About the "empty entries" in the output: can this be caused by the fact that 
the IndexPlugin uses a default exclusion pattern "\\p{Cntrl}" which is US-ASCII 
only (see the official API documentation for Java 1.4 and up)? The wiki 
mentioned by Bruno is configured to be UTF-8, and some of the pages have 
non-ASCII characters in their name...

I was going to propose the use of "getAllPages()" when no inclusion/exclusion 
parameters are specified, but for larger page collections there might be a 
performance hit by not using the ReferenceManager (and then again: the 
ReferenceManager isn't necessarily the best reference on this subject if I 
understand the class comments correctly).

> IndexPlugin does not list all pages
> -----------------------------------
>
>                 Key: JSPWIKI-572
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-572
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.8.2
>         Environment: JSPWIKI 2.8.2 with websphere running on AIX
>            Reporter: Bruno Peeters
>         Attachments: test-combinations.jpg, test-pageindex-empty.jpg, 
> test-pageindex.jpg
>
>
> We have noticed that the IndexPlugin does not list all pages with the wiki. 
> We discovered this because two users (from other divisions) both created a 
> page with a very similar name, the first one in capitals, the other one with 
> only one letter in lower case.
> I was able to reproduce this problem. I created all 16 combinations of upper 
> and lower case for the word "TEST" (see attachment). This resulted in 8 
> different wiki pages. Only 6 of them are listed in the output of the 
> IndexPlugin (see attachment).
> We have noticed another strange behaviour of the IndexPlugin, perhaps related 
> to the same cause. In the output of this plugin, there are empty entries 
> appearing : <entry1>, , <entry2>. What even makes it stranger is that these 
> empty entries are appearing at random places. After a refresh of the 
> pageindex page in the browser, the empty entries occur at another place in 
> the document. Sometimes there are no such empty entries, sometimes there is 
> only one, and sometimes there are several (mostly 2). Luckily this behaviour 
> reproduced itself for the "test" pages I created (see above). It looks that 
> the empty entries are "real" pages which aren't listed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to