Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12679

RuntimeData and RecurrenceInfo not cleaned after job purge

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 22.01.01, Upcoming Branch
    • 22.01.01
    • framework/service
    • None
    • Patch

    Description

      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

      Attachments

        1. Test.patch
          3 kB
          Gaetan Chaboussie
        2. Mutualisation_et_correction.patch
          7 kB
          Gaetan Chaboussie

        Activity

          People

            mleila Mekika Leila
            Gaetan Chaboussie Gaetan Chaboussie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: