Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
irfanhabib opened this issue Jun 20, 2018 · 1 comment
Labels
P1 Priority 1

Comments

@irfanhabib
Copy link
Contributor

irfanhabib commented Jun 20, 2018

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
@irfanhabib
Copy link
Contributor Author

Tested on master.. its been fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Priority 1
Projects
None yet
Development

No branches or pull requests

1 participant