0
TimMackey created
My app is ANZ version 7.0.0 ASP.NET Core2.2/Angular I added the following change to my app, per the Notification System page in Abp documentation:
await _notificationPublisher.PublishAsync("PubExamStatus", new MyNotificationData(myMessage, myOtherMessage), userIds: new[] { targetUserId });
}
I was not getting the following error, so I backed out the changes and did a clean build of everything. Yet the error persists:
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
DEBUG:
Starting connection using WebSockets transport
DEBUG:
Starting connection using WebSockets transport
[2019-09-24T01:36:31.652Z] Information: WebSocket connected to ws://localhost:22742/signalr?enc_auth_token=wNYmO41%2F48SHNstaLVXxHCCre29BZQl1NhC6NM3R3rzpXtPQxVzH6jEzA%2FQhXFN5tu6Fk7pO53uppm1mVXMZgxbyRVz26dnepi%2FFyB6axBY%2B6gq1GL%2BuRQgoiFUCjRN2p8w6LevViwKlHyWZZJZO1DGVSjAi1m2U%2Bog9pkHw9%2FRWPyEbRvXfVC%2F1p8CH%2BXgtptd8QeA9GOhEjN6mcqQaBDIgOntQDGwLFyO1O6kOY39OUjFF0ZdBsDeTW23e7XQhlVNtiaLaeqy1igtdhgRpIzjgcxQHQUXzj4%2BxGo3gmwHntQOGzQ3cFq4MAclm1PAmS%2BG2kvAfjbFYIsbB4mjc5N8yEk97R9owK9xCT%2FX1FSwawL4YJmvziaufRKDt%2FKlpOaF%2FCXFfH4Czt%2FQQFgGBy5lyKdWU7y3aSqtVc3v%2FfLz7nTDNlpQEJ7JpuuoUELJqtu%2FSnJ5UcUYa1RdssO4mANx%2B11y0ggUSBA%2FVouui3Nj0SKVLyQ43nLtqqbyCUcVZ4FlfjbVq7p8q7ZzEvhW5Qaf05XUdQIwgoPdC9T7dN9IWYyfz7gNF6OM5cKPu%2BNMDwLav%2BC59SWHtqF4DgT7S4Ulo6ZQaIGbXlTzzeMj1r04kupC%2BiZ1syeLdkmSHWlMLGm%2ByR9apuMY74X7X46CAikT5v8r6obkVubPxChgDONhUPRwgYWmN37Nh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USBA%2FVouui3Nj0SKVLyQ43nLtqqbyCUcVZ4FlfjbVq7p8q7ZzEvhW5Qaf05XUdQIwgoPdC9T7dN9IWYyfz7gNF6OM5cKPu%2BNMDwLav%2BC59SWHtqF4DgT7S4Ulo6ZQaIGbXlTzzeMj1r04kupC%2BiZ1syeLdkmSHWlMLGm%2ByR9apuMY74X7X46CAikT5v8r6obkVubPxChgDONhUPRwgYWmN37NhDEq%2FYyc5bEFHa1ahrbtvmWQnumu1Rtch8y%2BgjDu04e1QqJ38l1dFG2TPq4wzK3ebrMiSizsGPK%2Fq3hRgDLnYcrRiQUIiP8wrjfFyPVjSXOZOlFjvYEkCzUpqx6rvh4X9SK4MSbAsIatmh1iWKU0YkL3Y27O%2BGzwlnpuv7h4zmlVv3%2FVGsEEVNKxXGOBtmA%2FdSUn8%2BclSgzmkMr%2BZAnt%2FYRlM%2Ff2IpwjRPXuAnWy8gUDzbXzXrCX2lSAHtJmJD%2FeD86V3Ks5b2exWPk4Os%2BY6vkHqndu0S14AkD9sYW1skW9spePU5xtne0MzUJ6vPvkjSaYwOthpyOjTHN1dNvy%2BF7nzwqq75kLtvVlkv3unXRvAL1Dfj34n1sUvs44jZAQ0A7TS%2FeKSwIn3cPa1GSuua95sij%2BjDzwZ1GiM5OCI0DWSydezKdA%3D&id=aSMFXX-DnCh9C3V7fMO2FA.
DEBUG:
Connected to SignalR server!
DEBUG:
Registered to the SignalR server!
null: ERROR
null: TypeError: Cannot read property 'type' of undefined
message: "Cannot read property 'type' of undefined"
stack: "TypeError: Cannot read property 'type' of undefined
at Object.abp.notifications.getFormattedMessageFromUserNotification (http://localhost:4200/scripts.js:34510:96)
at UserNotificationHelper.push../src/app/shared/layout/notifications/UserNotificationHelper.ts.UserNotificationHelper.format (http://localhost:4200/main.js:22251:37)
at http://localhost:4200/main.js:22394:72
at arrayEach (http://localhost:4200/vendor.js:131238:11)
at Function.forEach (http://localhost:4200/vendor.js:140066:14)
at SafeSubscriber._next (http://localhost:4200/main.js:22393:59)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (http://localhost:4200/vendor.js:234478:16)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (http://localhost:4200/vendor.js:234416:22)
at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next (http://localhost:4200/vendor.js:234362:26)
at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (http://localhost:4200/vendor.js:234339:18)"
__proto__: Error {constructor: , name: "TypeError", message: "", …}
constructor: function TypeError() { … }
message: ""
name: "TypeError"
toString: function toString() { … }
__proto__: Object {constructor: , name: "Error", message: "", …}
To ensure a clean system, I compared my code with yesterday's backup - no differences. I used Agent Ransack to search every file in my project for "PubExamStatus" - text not found. I cleared Chrome browser cache, and rebooted my Windows 10 workstation. The error persists. Below are a couple of screenshots that may illuminate the issue for you. Where the fault occurs:
It appears the "PubExamStatus" is in a file somewhere on my system. Where? How can I remove the text?