You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sharan Foga (JIRA)" <ji...@apache.org> on 2015/02/21 08:40:44 UTC

[jira] [Updated] (OFBIZ-5670) findList(options(offset|limit)) can corrupt the cache

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

Sharan Foga updated OFBIZ-5670:
-------------------------------
    Sprint: Bug Crush Event - 21/2/2015

> findList(options(offset|limit)) can corrupt the cache
> -----------------------------------------------------
>
>                 Key: OFBIZ-5670
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5670
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Adam Heath
>            Assignee: Adam Heath
>            Priority: Minor
>
> In findList, there is an optional EntityFindOptions.  If this is specified, and it has a non-default offset or limit, then the EntityListIerator used internally will only return a subset of the values.
> This subset is then stored as the *full* cached list.
> Later, if another findList call happens, that has the same entityName/condition, the partial list stored previously will be used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)