Gaetan Chaboussie created OFBIZ-12679:
-----------------------------------------
Summary: 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
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)