[
https://issues.apache.org/jira/browse/CAY-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Timofeev closed CAY-2748.
--------------------------------
Resolution: Fixed
https://github.com/apache/cayenne/pull/511
> Mutating the list returned from the local query cache changes the cache
> -----------------------------------------------------------------------
>
> Key: CAY-2748
> URL: https://issues.apache.org/jira/browse/CAY-2748
> Project: Cayenne
> Issue Type: Bug
> Components: Core Library
> Affects Versions: 4.1.1, 4.2.RC1, 5.0.M1
> Reporter: John Huss
> Assignee: John Huss
> Priority: Minor
> Fix For: 5.0.M1
>
> Original Estimate: 4h
> Time Spent: 1h
> Remaining Estimate: 3h
>
> If you perform a query that populates the local query cache and then mutate
> the returned list (by adding an object), this mutation will persist inside
> the local query cache so that subsequent queries that hit the local query
> cache will incorrectly include this mutation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)