[
https://issues.apache.org/jira/browse/OFBIZ-12679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651238#comment-17651238
]
ASF subversion and git services commented on OFBIZ-12679:
---------------------------------------------------------
Commit b80e411bb827134e995bdaeb7857feb07c6beb28 in ofbiz-framework's branch
refs/heads/trunk from Mekika Leila
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=b80e411bb8 ]
Fixed: RuntimeData and RecurrenceInfo not cleaned after job purge
(OFBIZ-12679)
Add jobSandbox related runtimeDataId and recurrenceInfoId fields when
searching for jobs to purge so that the PurgeJob can retrieve and clean
job related entities (JobUtil.removeJob)
Also add a test that validate the complete purge
Thanks: Gaëtan Chaboussie for report and corrective patch
> 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)