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

pre-filtering of post commit listeners doesn't work on non-shallowed properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0-HF11, 5.7.1
    • Component/s: Core

      Description

      In automation, filtering on non shallowed event attributes is throwing an error. This makes such listeners non-usable.

      org.nuxeo.ecm.automation.core.events.OperationEventListener] Failed to check event lifecycle_transition_event using chain: Recipient_FailNotification
      java.lang.UnsupportedOperationException
      	at org.nuxeo.ecm.core.event.impl.ShallowDocumentModel.getCurrentLifeCycleState(ShallowDocumentModel.java:217)
      	at org.nuxeo.ecm.automation.core.events.EventHandler.isEnabled(EventHandler.java:213)
      	at org.nuxeo.ecm.automation.core.events.EventHandlerRegistry.acceptEvent(EventHandlerRegistry.java:95)
      	at org.nuxeo.ecm.automation.core.events.PostCommitOperationEventListener.acceptEvent(PostCommitOperationEventListener.java:35)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: