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

[BUGFIX] Use routeName instead of fullRouteName in QP meta #14487

Merged
merged 1 commit into from
Oct 17, 2016

Conversation

trentmwillis
Copy link
Member

@trentmwillis trentmwillis commented Oct 17, 2016

Accidentally broke the Controller lookup for QPs in Engines in the last round of changes. I mistakenly thought we should use fullRouteName inside of _qp to avoid potential collisions in the BucketCache, but that value is also used to look up the Route's Controller so it shouldn't be fully resolved.

Additionally, the BucketCache seems to be unique per engine-instance, so collisions shouldn't be an issue.

Edit: Added a bunch of tests in the ember-engines repo to verify everything works as expected with this change. See ember-engines/ember-engines#227 for more info.

@rwjblue
Copy link
Member

rwjblue commented Oct 17, 2016

Awesome, thank you @trentmwillis!

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

Successfully merging this pull request may close these issues.

2 participants