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

RuntimeData and RecurrenceInfo not cleaned after job purge

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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 Gil Portenseigne  for his help

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment