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

ASF subversion and git services commented on OFBIZ-13172:
---------------------------------------------------------

Commit 3dc86fdfd8756dc2d5d2c52367ff4309da70d675 in ofbiz-framework's branch 
refs/heads/trunk from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=3dc86fdfd8 ]

Fixed: Remove error after test rollback (OFBIZ-13172)

When you run entity test with `.gradlew 'ofbiz -t component=entity' after the 
test, entity engine rollback all entity operation. During this process, an 
error appears due to immutable state on GenericValue rollbacked.

To solve it, we'll check first if a gv has been set as immutable. In this case 
we clone it before call the delegator.


> Remove error after test rollback
> --------------------------------
>
>                 Key: OFBIZ-13172
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13172
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>         Attachments: Capture d’écran du 2024-11-12 11-48-09.png
>
>
> When you run entity test with `.gradlew 'ofbiz -t component=entity' after the 
> test, entity engine rollback all entity operation. 
> During this process, many error appears due to immutable state.
>  
> !Capture d’écran du 2024-11-12 11-48-09.png!
> To solve it, we'll check first is a gv has been set as immutable. In this 
> case we clone it before call the delegator.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to