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

No versioning triggered when the update is managed by beforeDocumentModification event

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF10, 8.3
    • Component/s: Core

      Description

      The problem:
      The dirty state is computed before the beforeDocumentModification.
      The versioning depends on the dirty state.
      => so if there's no modification but some update made by the event, no version are triggered.

      Cause:
      the validation is executed before the event
      the validation depends on the dirty state

      We should consider to compute the dirty state twice. There may have an overhead we should estimate.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 4 hours
                4h