Hello,
I have not had a moment to complete your request. I will get back to you soon.
Thanks!
Thanks for your reply. I tested it with the addition of the EventNameAttribute
and I receive the same error.
I did not think that would work anyway, as the error in my initial comment says Value cannot be null. (Parameter 'returnType')
and the method that throws is System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options)
If i understand the error correctly, it cannot determine the type to deserialze as from the outbox json blob. This only happens with the abp.dapr addition. without abp.dapr, the type is deserialzed from the outbox just fine. there are no errors showing anywhere else in any process' logs. dapr sidecar and zipkin are working just fine too.
Update:
I've stepped through ABP's code.
Volo.Abp.EventBus.Dapr.DaprDistributedEventBus
PublishManyFromOutboxAsync
-> PublishToDaprAsync
-> GetEventType
-> EventTypes.GetOrDefault(eventName)
: EventTypes
does not have a key and value for the EventNameAttribute
or the full type name (PaymentTerm_UpdatedEto
).
That worked, Thank you!
Also, what is the significance of having the project include then remove those json files?
And will this fix be included in the next release of the Suite?