[ 
https://issues.apache.org/jira/browse/JSPWIKI-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Juan Pablo Santos Rodríguez resolved JSPWIKI-873.
-------------------------------------------------
    Fix Version/s: 2.11.1
       Resolution: Fixed

Should be fixed in 2.11.1-git-01, 
{{CachingAttachmentProvider#listAllChanged(..)}} will behave the same as 
{{CachingProvider#getAllPages()}}, that is, if the cache can't hold all the 
attachments it'll be bypassed and the underlying provider will be queried 
instead.

Also this revision allows to specify a custom ehcache configuration file, in 
order to ease its customization, please see the revision entry on the 
{{Changelog.md}} file.

> AttachmentManager#getAllAttachments() does not return more than exactly 1000 
> attachments
> ----------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-873
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-873
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.10.2
>            Reporter: Albrecht Striffler
>            Priority: Major
>              Labels: attachments
>             Fix For: 2.11.1
>
>
> I'm not sure if this is only a problem in 2.10.2 (svn-head) or also in the 
> released 2.10.1...
> As already stated in the summary/title, the AttachmentManager does not return 
> more than 1000 attachments using the method getAllAttachments(). This is 
> obviously very problematic, if JSPWiki is used at the api level and has more 
> than 1000 attachments...
> My guess is, that it has to do with the CachingAttachmentProviders Cache size 
> of 1000.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to