API Response Finish but LocalEventHandler has not finish
- ABP Framework version: 8.0.4
- User Interface :MVC
- database provider:EF Core
Controller:
[HttpPost]
public async Task<bool> CreateAsync(CreateTestDto TestCreateInput)
{
await testAppService.CreateAsync(testCreateInput);
return true;
}
AppService:
public override async Task<TestDto> CreateAsync(CreateTestDto testCreateInput)
{
...
await _localEventBus.PublishAsync(new ModelValidateEto()
{
...
});
return ObjectMapper.Map<Test, TestDto>(testEntity);
}
when i request in swagger, it return true,but localEventHandler not execute finish
but when i delete controller code return true ,it become normal
Please share a simple test project.
Hi, do you know if this issue is still open?
@maliming i create a new abp project,it run as normal.It seems to be caused by my project configuration
It seems to be caused by my project configuration
Maybe. You can share the project if you can reproduce it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.