You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Chenghu Shan (Jira)" <ji...@apache.org> on 2023/07/27 09:59:00 UTC
[jira] [Commented] (OFBIZ-12841) GenericDelegator.findList should return unmodifiable list when using cache
[ https://issues.apache.org/jira/browse/OFBIZ-12841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17747890#comment-17747890 ]
Chenghu Shan commented on OFBIZ-12841:
--------------------------------------
Pullrequest: [https://github.com/apache/ofbiz-framework/pull/658]
I messed up the commit message. The pull request is not automatically added here.
> GenericDelegator.findList should return unmodifiable list when using cache
> --------------------------------------------------------------------------
>
> Key: OFBIZ-12841
> URL: https://issues.apache.org/jira/browse/OFBIZ-12841
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Upcoming Branch
> Reporter: Chenghu Shan
> Priority: Minor
>
> The findList method in GenericDelegator may return different results for the same search parameters when using caching if list operations are used on the returned list. This is because the actual cacheList is returned instead of an unmodifiable copy.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)