You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Janne Jalkanen (JIRA)" <ji...@apache.org> on 2009/07/02 23:31:53 UTC

[jira] Commented: (JSPWIKI-572) IndexPlugin does not list all pages

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

Janne Jalkanen commented on JSPWIKI-572:
----------------------------------------

I don't think the exclusion pattern is a problem, since I've got several wikis running which are using UTF-8 chars and IndexPlugin works fine with them.

The TEST/Test problem, however, is a real bug. It's a known problem that the number of pages that gets created depends on the OS and the chosen provider.  This should be solved in the SVN trunk already.

It's quite likely that ReferenceManager is getting confused with pages that have the same name but slightly differing case.  It *should* work, but it seems that it does not. Could you confirm that getAllPages() works as expected? The performance hit is not that big.

> 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.