Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31720

Use BAF implementation in OrphanVersionCleanupListener and do no make GarbageCollectOrphanVersionsAction fail if document is not a version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2021.31
    • Fix Version/s: 2023.0, 2021.35
    • Component/s: Bulk, Core
    • Release Notes Summary:
      See NXP-27139 's release notes
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #83
    • Story Points:
      1

      Description

      Even though the OrphanVersionCleanupListener.java remains disabled in orphanVersionsCleanup-listener-contrib.xml since (NXP-24819), we should make it use the new BAF implementation (from NXP-27139) to clean up orphan versions

      Moreover, GarbageCollectOrphanVersionsAction throws an IllegalArgumentException if the document is not a version and will make the action in failure after the retries.

      We should just log a debug and continue for such trivial unexpected entries.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: