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

Clicking on profile in usermenu gives error (ObjectUnsubscribedError) #3

Closed
sspilleman opened this issue May 29, 2016 · 3 comments
Closed
Labels

Comments

@sspilleman
Copy link

  • I'm submitting a ...
    [x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
  • What is the current behavior?
    Clicking on profile in usermenu doesn't work
  • What is the expected behavior?
    App should go somewhere
  • Please tell us about your environment:
  • Angular version: 2.0.0-rc.1
  • Browser: [Chrome 52]
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
browser_adapter.ts?9397:78 EXCEPTION: Error: Uncaught (in promise): ObjectUnsubscribedError
browser_adapter.ts?9397:78 Error: Uncaught (in promise): ObjectUnsubscribedError
    at resolvePromise (eval at <anonymous> (polyfills.bundle.js:2913), <anonymous>:538:32)
    at eval (eval at <anonymous> (polyfills.bundle.js:2913), <anonymous>:574:18)
    at ZoneDelegate.invokeTask (eval at <anonymous> (polyfills.bundle.js:2913), <anonymous>:356:38)
    at Object.onInvokeTask (eval at <anonymous> (vendor.bundle.js:1368), <anonymous>:36:41)
    at ZoneDelegate.invokeTask (eval at <anonymous> (polyfills.bundle.js:2913), <anonymous>:355:43)
    at Zone.runTask (eval at <anonymous> (polyfills.bundle.js:2913), <anonymous>:256:48)
    at drainMicroTaskQueue (eval at <anonymous> (polyfills.bundle.js:2913), <anonymous>:474:36)
    at ZoneTask.invoke (eval at <anonymous> (polyfills.bundle.js:2913), <anonymous>:426:22)
@sspilleman sspilleman changed the title Clicking on profile in usermenu gives error () Clicking on profile in usermenu gives error (ObjectUnsubscribedError) May 29, 2016
@nnixaa nnixaa added the bug label May 29, 2016
@sspilleman
Copy link
Author

The reason is it it trying to redirect to a route that doesn't exist.... 1 thing would be to fix the link of course.... But more generally speaking, in case of an invalid link... It should redirect to a 404 page right?

@nnixaa
Copy link
Collaborator

nnixaa commented May 30, 2016

@sspilleman yes indeed, there is no such page at the moment, we'll fix the issue in the upcoming update.

@nnixaa
Copy link
Collaborator

nnixaa commented Jun 2, 2016

@sspilleman fixed by 86a8cb1 (committed with incorrect comment, long time no sleep :) )

So now you can register there any 404 page route or just simply redirect to dashboard or another page, etc.

@nnixaa nnixaa closed this as completed Jun 2, 2016
denStrigo pushed a commit to denStrigo/ngx-admin that referenced this issue Jul 9, 2018
Esad/eccomerce - fixes in traffic card. implement orders map feature
Vasanthkumar-Porcheziyan added a commit to Vasanthkumar-Porcheziyan/ngx-admin that referenced this issue Oct 1, 2020
…t-custom-styles

Origin/import custom styles
orangeeez added a commit to orangeeez/ngx-admin that referenced this issue Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants