You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
18
Description
After migrating from material 18 to 19 I'm getting runtime error on all of my svg icons.
Error retrieving icon gk:bike! Cannot assign to read only property 'taskId' of object '[object Object]'
at Object.error (icon.mjs:969:40)
at ConsumerObserver2.error (Subscriber.js:100:25)
at Subscriber2._error (Subscriber.js:63:24)
at Subscriber2.error (Subscriber.js:40:12)
at Subscriber2._error (Subscriber.js:63:24)
at Subscriber2.error (Subscriber.js:40:12)
at Subscriber2._error (Subscriber.js:63:24)
at Subscriber2.error (Subscriber.js:40:12)
at Subscriber2._error (Subscriber.js:63:24)
at Subscriber2.error (Subscriber.js:40:12)
at tap.js:28:18
at OperatorSubscriber2._this._error (OperatorSubscriber.js:21:9)
at Subscriber2.error (Subscriber.js:40:12)
at Subject.js:66:29
at errorContext (errorContext.js:23:5)
at Subject2.error (Subject.js:59:5)
at Object.error (share.js:63:18)
at ConsumerObserver2.error (Subscriber.js:100:25)
at Subscriber2._error (Subscriber.js:63:24)
at Subscriber2.error (Subscriber.js:40:12)
at Subscriber2._error (Subscriber.js:63:24)
at Subscriber2.error (Subscriber.js:40:12)
at Subscriber2._error (Subscriber.js:63:24)
at Subscriber2.error (Subscriber.js:40:12)
at Subscriber2._error (Subscriber.js:63:24)
at Subscriber2.error (Subscriber.js:40:12)
at OperatorSubscriber2._this._next (OperatorSubscriber.js:16:21)
at Subscriber2.next (Subscriber.js:32:12)
at Observable2._subscribe (innerFrom.js:51:18)
at Observable2._trySubscribe (Observable.js:33:19)
at Observable.js:27:115
at errorContext (errorContext.js:23:5)
at Observable2.subscribe (Observable.js:23:5)
at mergeInternals (mergeInternals.js:54:10)
at mergeMap.js:20:12
at OperatorSubscriber2.<anonymous> (lift.js:10:18)
at Observable.js:27:42
at errorContext (errorContext.js:23:5)
at Observable2.subscribe (Observable.js:23:5)
at filter.js:6:12
at OperatorSubscriber2.<anonymous> (lift.js:10:18)
at Observable.js:27:42
at errorContext (errorContext.js:23:5)
at Observable2.subscribe (Observable.js:23:5)
at map.js:6:12
at OperatorSubscriber2.<anonymous> (lift.js:10:18)
at Observable.js:27:42
at errorContext (errorContext.js:23:5)
at Observable2.subscribe (Observable.js:23:5)
at map.js:6:12
my icons are registered in MatIconsRegistry like this
Is this a regression?
The previous version in which this bug was not present was
18
Description
After migrating from material 18 to 19 I'm getting runtime error on all of my svg icons.
my icons are registered in MatIconsRegistry like this
provided via app initializer:
and used in component
I run all the automatic migrations and I'm not aware any breaking changes here.
Reproduction
StackBlitz link:
Steps to reproduce:
1.
2.
Expected Behavior
no error expected just like in material 18
Actual Behavior
error above
Environment
The text was updated successfully, but these errors were encountered: