Skip to content

Duplicated domain saved notifications #19104

Open
@bielu

Description

@bielu

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

  1. add following handler:
public class DomainEventNotificationNotificationHandler(ILogger<DomainEventNotificationNotificationHandler> logger)
       : INotificationAsyncHandler<DomainSavedNotification>
   {
       public async Task HandleAsync(DomainSavedNotification notification, CancellationToken cancellationToken)
       {
           logger.LogInformation("Domain saved notification");
       }
   }
  1. register it with composer/program.cs helpers
  2. Save culture/hostnames.

Expected result / actual result

DomainSavedNotification should be trigger only once per action.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions