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

Don't recurse too much in BulkLifeCycleChangeListener

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0-HF40, 7.10-HF27, 8.10-HF09, 9.2
    • Fix Version/s: 9.2
    • Component/s: Core

      Description

      BulkLifeCycleChangeListener is used to propage the life cycle change to children of a folderish document.

      Currently the listener recurse on all folderish document, if folderA contains folderB then the listener will change the life cycle of folderB children. But changing the lifecycle of folderB will trigger a lifecycle_transition_event, so BulkLifeCycleChangeListener will be executed a second time on folderB.

      We should recurse only on first children level.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h