If a decision is invoked with a non-existing decision id, the engine returns a failure with an empty audit log. This caused an exception because the audit log couldn't handle an empty list.
Remove the public properties rootEntry and requiredEntries from the audit log. These properties don't work if the audit log entries are empty.
Note that the property rootEntry may contain an audit log entry but no from the root decision. If the evaluation of a required decision fails, the engine doesn't add an entry for the root decision.
Description
If a decision is invoked with a non-existing decision id, the engine returns a failure with an empty audit log. This caused an exception because the audit log couldn't handle an empty list.
Remove the public properties
rootEntry
andrequiredEntries
from the audit log. These properties don't work if the audit log entries are empty.Note that the property
rootEntry
may contain an audit log entry but no from the root decision. If the evaluation of a required decision fails, the engine doesn't add an entry for the root decision.Related issues
closes #135