Base solution for your next web application
Open Closed

V7 - Notifications implementation error #7352


User avatar
0
exlnt created

I am trying to implement notifications for my app. I am following the documents here and here.

So far I have just setup one notification, for one entity to ensure I have things working correctly.

I have made the following code changes:

  1. Notification names class in MyApp.Core.Shared project.
  2. Notifier interface in MyApp.Core project.
  3. Notifier class in MyApp.Core project.
  4. Notification provider class in MyApp.Core project
  5. Added the entry below into the CoreModule class
Configuration.Notifications.Providers.Add<MyAppNotificationProvider>();

I am able to build and run the application without any errors. However soon as I try to open my entity index page for the entity I setup for notifications, I get the error shown below.

An unhandled exception occurred while processing the request.
HandlerException: Can't create component 'Abp.Localization.Sources.Resource.ResourceFileLocalizationSource' as it has dependencies to be satisfied.

'Abp.Localization.Sources.Resource.ResourceFileLocalizationSource' is waiting for the following dependencies:
- Parameter 'name' which was not provided. Did you forget to set the dependency?
- Service 'System.Resources.ResourceManager' which was not registered.
Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()

1 Answer(s)
  • User Avatar
    0
    exlnt created

    Please ignore this issue. There was unused object injected in my app service class.