-
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
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)
- depends on
-
NXP-9193 Add event filtering to async listeners that are too general
- Resolved