Skip to content

Bug: sorting in ngoninit causes crash #22210

Closed
@swftvsn

Description

@swftvsn

sort.js:538 Uncaught TypeError: Cannot read property 'toState' of undefined
at SafeSubscriber._next (sort.js:538)
at SafeSubscriber.__tryOrUnsub (Subscriber.js:183)
at SafeSubscriber.next (Subscriber.js:122)
at Subscriber._next (Subscriber.js:72)
at Subscriber.next (Subscriber.js:49)
at MergeMapSubscriber.notifyNext (mergeMap.js:70)
at SimpleInnerSubscriber._next (innerSubscribe.js:10)
at SimpleInnerSubscriber.next (Subscriber.js:49)
at SafeSubscriber.schedulerFn [as _next] (core.js:25851)
at SafeSubscriber._tryOrUnsub (Subscriber.js:183)
at SafeSubscriber.next (Subscriber.js:122)
at Subscriber.next (Subscriber.js:72)
at Subscriber.next (Subscriber.js:49)
at EventEmitter
.next (Subject.js:39)
at EventEmitter
.emit (core.js:25841)
at MatSort.sort (sort.js:139)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/sort

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions