You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mekika Leila (Jira)" <ji...@apache.org> on 2022/12/22 11:16:00 UTC

[jira] [Closed] (OFBIZ-12679) RuntimeData and RecurrenceInfo not cleaned after job purge

     [ https://issues.apache.org/jira/browse/OFBIZ-12679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mekika Leila closed OFBIZ-12679.
--------------------------------
    Fix Version/s: 22.01.01
       Resolution: Fixed

> 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
>             Fix For: 22.01.01
>
>         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)