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

Auto chain executes when publishing version despite event handler filtering on 'Regular Document'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.10-HF02
    • Fix Version/s: None
    • Environment:
      Windows 10 host, Chrome 73.0.3683.75 (Official Build) (64-bit), Nuxeo 10.10-HF02 on AWS Ubuntu 16.04.6 LTS

      Description

      I have an event handler triggered on "Document created" for a specific doctype. The event handler has "Current Document is 'Regular Document'". After creating the document successfully (with event triggered and auto chain run ok), I publish the document using an auto chain (linked from an action button).

      Expected result: when publishing, the auto chain would not execute, as I am not creating a regular document.

      Actual result: the auto chain executes

      Workaround: I can add the following 'Custom EL expression' = 'Document.isProxy() == false' to prevent the auto chain from being executed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              msaye Mark Saye
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.