We solved the issue by updating ExtraProperties to {}. Do you remember why {{}} was written to the database?
We are looking into it, and if any questions come up, we will ask.
Thank you for the fast response.
Yes, in the _repository, for different eventData.Id in ExtraProperties has different values - some are {}, some are {{}}, and some are null.
Yes , here is the event class
[EventName("Maintenance.Request.Closed")]
public class MaintenanceRequestClosedEto
{
public Guid Id { get; set; }
public DateTime ClosedDate { get; set; }
}
and methode that handles event
public async Task HandleEventAsync(MaintenanceRequestClosedEto eventData)
{
var entity = await _repository.FindAsync(eventData.Id);
entity.SetStatus(MaintenanceRequestStatus.Completed, eventData.ClosedDate);
await _repository.UpdateAsync(entity);
}
Hi Abp Team,
I am getting a JsonException when Project A publishes events to Project B. We are using RabbitMQ for event exchange. In the local environment, which is Windows, it works, but when published to Ubuntu, JsonExceptions are thrown.
Below is the JsonException that was thrown:
↓
<b>How can i solve this issue?</b>