[ https://issues.apache.org/jira/browse/OFBIZ-12679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651217#comment-17651217 ]
ASF subversion and git services commented on OFBIZ-12679: --------------------------------------------------------- Commit d9d73419fae4c0b0a0ec43de3ce24e48a6342249 in ofbiz-framework's branch refs/heads/release22.01 from MLeila [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=d9d73419fa ] 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)