Skip to content

Child state is not resolved if parent state has resolve block with the same name. #2695

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

Closed
metrophos opened this issue Apr 14, 2016 · 1 comment

Comments

@metrophos
Copy link

After adding this feature #1934 it is not possible to have resolve blocks with the same name as parent/child.

Here is an example:
http://plnkr.co/edit/vR0mej?p=preview
If changing the plnkr ui-router lib version higher than 0.2.14 the second resolve block doesn't run anymore.

@christopherthielen
Copy link
Contributor

Hi, I think this isn't a bug. Put your resolve on the state, not the view and it should work.

http://plnkr.co/edit/0m7Uwq?p=preview

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

No branches or pull requests

2 participants