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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

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