incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wouter Van daele (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-572) IndexPlugin does not list all pages
Date Wed, 26 Aug 2009 20:09:59 GMT

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

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

Sorry, I have cleaned out some of my trial code from my workspace, so I can't confirm that
it does the job. Since getAllPages() goes to check the file system (at least in our configuration,
since we're using the VersioningFileProvider) for a list of files representing wikipages,
it should get at least the 8 wikipages created by Bruno in his test case.

Do note however that getAllPages() can only replace the ReferenceManager when no in- or exclusions
are specified (or do you want to apply these on the return from getAllPages() ? ), so that
it is only a partial solution to the problem. I suppose the ReferenceManager is used in other
circumstances as well (I'm insufficiently familiar with the complete codebase), so I guess
the choice is between replacing it or correcting its behaviour...?

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


Mime
View raw message