Skip to content

Users Permissions: Removing the last role (Org User) results in an exception #2438

Closed
@irfanhabib

Description

Deleting the last role assigned to a user results in the following exception:

This was tested with the fix for #2430

main.874879f171aa9222d5e8.js:1 ERROR Error: no elements in sequence
    at new e (main.874879f171aa9222d5e8.js:1)
    at main.874879f171aa9222d5e8.js:1
    at Object.complete (main.874879f171aa9222d5e8.js:1)
    at e._complete (main.874879f171aa9222d5e8.js:1)
    at e.complete (main.874879f171aa9222d5e8.js:1)
    at e._complete (main.874879f171aa9222d5e8.js:1)
    at e.complete (main.874879f171aa9222d5e8.js:1)
    at e._complete (main.874879f171aa9222d5e8.js:1)
    at e.complete (main.874879f171aa9222d5e8.js:1)
    at t._subscribe (main.874879f171aa9222d5e8.js:1)
qt @ main.874879f171aa9222d5e8.js:1
t.handleError @ main.874879f171aa9222d5e8.js:1
(anonymous) @ main.874879f171aa9222d5e8.js:1
D @ main.874879f171aa9222d5e8.js:1
(anonymous) @ main.874879f171aa9222d5e8.js:1
e._next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e.notifyNext @ main.874879f171aa9222d5e8.js:1
e._next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e.notifyNext @ main.874879f171aa9222d5e8.js:1
e._next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e._next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e._error @ main.874879f171aa9222d5e8.js:1
e.error @ main.874879f171aa9222d5e8.js:1
e._error @ main.874879f171aa9222d5e8.js:1
e.error @ main.874879f171aa9222d5e8.js:1
e.notifyError @ main.874879f171aa9222d5e8.js:1
e._error @ main.874879f171aa9222d5e8.js:1
e.error @ main.874879f171aa9222d5e8.js:1
e._error @ main.874879f171aa9222d5e8.js:1
e.error @ main.874879f171aa9222d5e8.js:1
e._complete @ main.874879f171aa9222d5e8.js:1
e.complete @ main.874879f171aa9222d5e8.js:1
e._complete @ main.874879f171aa9222d5e8.js:1
e.complete @ main.874879f171aa9222d5e8.js:1
e._complete @ main.874879f171aa9222d5e8.js:1
e.complete @ main.874879f171aa9222d5e8.js:1
(anonymous) @ main.874879f171aa9222d5e8.js:1
t.subscribe @ main.874879f171aa9222d5e8.js:1
t.call @ main.874879f171aa9222d5e8.js:1
t.subscribe @ main.874879f171aa9222d5e8.js:1
t.call @ main.874879f171aa9222d5e8.js:1
t.subscribe @ main.874879f171aa9222d5e8.js:1
t.call @ main.874879f171aa9222d5e8.js:1
t.subscribe @ main.874879f171aa9222d5e8.js:1
t.call @ main.874879f171aa9222d5e8.js:1
t.subscribe @ main.874879f171aa9222d5e8.js:1
(anonymous) @ main.874879f171aa9222d5e8.js:1
a @ main.874879f171aa9222d5e8.js:1
e._innerSub @ main.874879f171aa9222d5e8.js:1
e._tryNext @ main.874879f171aa9222d5e8.js:1
e._next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e._next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e._next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
(anonymous) @ main.874879f171aa9222d5e8.js:1
e.__tryOrUnsub @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e._next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e._tryNext @ main.874879f171aa9222d5e8.js:1
e._next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e._next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
t.observe @ main.874879f171aa9222d5e8.js:1
e.dispatch @ main.874879f171aa9222d5e8.js:1
e._execute @ main.874879f171aa9222d5e8.js:1
e.execute @ main.874879f171aa9222d5e8.js:1
e.flush @ main.874879f171aa9222d5e8.js:1
e.schedule @ main.874879f171aa9222d5e8.js:1
t.schedule @ main.874879f171aa9222d5e8.js:1
e.schedule @ main.874879f171aa9222d5e8.js:1
e.scheduleMessage @ main.874879f171aa9222d5e8.js:1
e._next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e.next @ main.874879f171aa9222d5e8.js:1
e.dispatch @ main.874879f171aa9222d5e8.js:1
startApply @ 2.e66a95cba87f7e97ca3f.js:1
t.goNext @ main.874879f171aa9222d5e8.js:1
(anonymous) @ VM2867 t.ngfactory.js:216
handleEvent @ main.874879f171aa9222d5e8.js:1
handleEvent @ main.874879f171aa9222d5e8.js:1
Zr @ main.874879f171aa9222d5e8.js:1
(anonymous) @ main.874879f171aa9222d5e8.js:1
(anonymous) @ main.874879f171aa9222d5e8.js:1
t.invokeTask @ polyfills.4f6c96a616fb527b4ec6.js:1
onInvokeTask @ main.874879f171aa9222d5e8.js:1
t.invokeTask @ polyfills.4f6c96a616fb527b4ec6.js:1
e.runTask @ polyfills.4f6c96a616fb527b4ec6.js:1
e.invokeTask @ polyfills.4f6c96a616fb527b4ec6.js:1
y @ polyfills.4f6c96a616fb527b4ec6.js:1
_ @ polyfills.4f6c96a616fb527b4ec6.js:1

Metadata

Assignees

No one assigned

    Labels

    P1Priority 1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions