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

Mekika Leila commented on OFBIZ-12679:
--------------------------------------

Thank you Gaëtan and Gil

I tested it before and after corrective patch and it seemed alright
with command :    ./gradlew 'ofbiz -t component=service -t 
suitename=servicetests -t case=service-purge-test'

For information, I will move the tests in src/main packages so it won't execute 
as integration test

> RuntimeData and RecurrenceInfo not cleaned after job purge
> ----------------------------------------------------------
>
>                 Key: OFBIZ-12679
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12679
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/service
>    Affects Versions: 22.01.01, Upcoming Branch
>            Reporter: Gaetan Chaboussie
>            Assignee: Mekika Leila
>            Priority: Major
>         Attachments: Mutualisation_et_correction.patch, Test.patch
>
>
> We noticed that the purging of jobs doesn't clean the related RuntimeData and 
> RecurrenceInfo
> We created an integration test for development and reproduction of bug, 
> provided in the first patch
> For the fix, we get the relevant runtimeDataId and recurrenceInfoId to pass 
> to the delegator in getRelatedOne method.
> See the second patch
> We also offer a small code rework/ mutualization of the Job related object.
> Thanks to [~pgil]  for his help



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

Reply via email to