We added notification definition with EntityType. but If we enable entitytype, "AbpNotificationSubscriptions" is not saved. context.Manager.Add( new NotificationDefinition( AppNotificationNames.Publish, displayName: L("Publish"), //entityType: typeof(Library), permissionDependency: new SimplePermissionDependency(AppPermissions.Pages_Libraries) ));
Same in AppNotifier.cs, If we add EntityIdentifier , "AbpUserNotifications" is not saved. await _notificationPublisher.PublishAsync(AppNotificationNames.Publish, notificationData, new EntityIdentifier(typeof(Library), Library.Id), tenantIds: tenantIds);
Can you please explain this?
7 Answer(s)
-
0
Hi @navcon
Are there any subscribers to this notification ? You can use any account and subscribe to this notification as explained below and try again.
-
0
-
0
Thanks, could you create an issue on https://github.com/aspnetzero/aspnet-zero-core/issues, we will take a deeper look into this.
-
0
Thank you. Created an issue. https://github.com/aspnetzero/aspnet-zero-core/issues/5050
-
0
Thanks, I have added it to v13 milestone.
-
0
Hi Ismail, any update on this?
-
0
Hi @navcon
Sorry for the delay. Upgrading to .NET 8 is just finished and we started to work on this issue. I assume you will get a feedback in 1-2 days.