2

Resolved

Workflows Module: Event Trigger without Content Item throws NRE

description

What I was trying to do: see discussion

If you try to trigger an event without an IContent target (say for example, in my case, triggering on behalf of an OrderRecord, which doesn't implement IContent), an NRE is thrown on Line 65 of WorkflowManager.cs when the trigger method checks to see if there are any awaiting activities.

From what I can tell from the source, the IContent target is optional, so a simple null check should alleviate the issue.

comments

sebastienros wrote Jul 8, 2013 at 3:31 AM

Fixed in changeset 145f34f9d3d7

sfmskywalker wrote Mar 28 at 1:28 AM

Fixed in changeset 3f27ec9ef4bb93469e9aa219ea47d61116cac662