Open
Description
Which Umbraco version are you using?
13.5.3
Bug summary
Every time when DomainSavedNotification is trigger it happens twice, which cause double of work if you listen on this notifaction.
Specifics
No response
Steps to reproduce
- add following handler:
public class DomainEventNotificationNotificationHandler(ILogger<DomainEventNotificationNotificationHandler> logger)
: INotificationAsyncHandler<DomainSavedNotification>
{
public async Task HandleAsync(DomainSavedNotification notification, CancellationToken cancellationToken)
{
logger.LogInformation("Domain saved notification");
}
}
- register it with composer/program.cs helpers
- Save culture/hostnames.
Expected result / actual result
DomainSavedNotification should be trigger only once per action.