You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A saga test using the TestableSaga API fails with the following Exception:
Entity.Originator cannot be null. Perhaps the sender is a SendOnly endpoint.
Another symptom is a NullReferenceException when trying to work with the Data.Originator property of the saga data.
Who's affected
Saga tests using the TestableSaga API that use the Data.Originator property or the ReplyToOriginator method in a saga under test.
Root cause
ReplyToOriginator is an oversight in the saga scenario testing framework. When the first message arrives for a saga, the TestableSaga class does not emulate the originator behavior, so the Originator property on the saga entity is left null.
Symptoms
A saga test using the
TestableSaga
API fails with the following Exception:Another symptom is a
NullReferenceException
when trying to work with theData.Originator
property of the saga data.Who's affected
Saga tests using the
TestableSaga
API that use theData.Originator
property or theReplyToOriginator
method in a saga under test.Root cause
ReplyToOriginator is an oversight in the saga scenario testing framework. When the first message arrives for a saga, the
TestableSaga
class does not emulate the originator behavior, so theOriginator
property on the saga entity is left null.Backported to
The text was updated successfully, but these errors were encountered: