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

Harry Metske commented on JSPWIKI-873:
--------------------------------------

Looking at the code I would also think this is because of the default size of 
1000 entries for the cache.
This behavior is questionable.
A quick fix/workaround would be to change the default ehcache.xml (which is 
inside the jspwiki jar), increase the size, and/or allow overflow to disk.

> 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
>              Labels: attachments
>
> 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
(v6.3.4#6332)

Reply via email to