You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2014/12/01 20:06:12 UTC

[jira] [Commented] (JSPWIKI-873) AttachmentManager#getAllAttachments() does not return more than exactly 1000 attachments

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

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

Technically that is possible of course. But currently you can already override the cache sizes (and all other ehcache attributes) by putting an ehcache.xml in JSPWiki's WEB-INF/classes directory. Is that an option for you ?

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