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

Resolver breaks when logging long names #35

Closed
KnownSubset opened this issue Mar 24, 2014 · 3 comments · Fixed by #36
Closed

Resolver breaks when logging long names #35

KnownSubset opened this issue Mar 24, 2014 · 3 comments · Fixed by #36

Comments

@KnownSubset
Copy link

When logging the resolving of application elements.

Ember.ENV.LOG_MODULE_RESOLVER = true;

The logging can fail when you have long component/view/template names. The logging code expects the parsedName.fullName.length to be <= 40. If not, then the logging hits an invalid array length exception.

screen shot 2014-03-24 at 9 46 12 am

The resolver was looking up "template:components/update-aware-text-field"

@stefanpenner
Copy link
Contributor

o_0) crazy, this is quite unexpected.

@rwjblue
Copy link
Member

rwjblue commented Mar 24, 2014

Agreed. Looking at the code now to see what is going on...

rwjblue added a commit to rwjblue/ember-jj-abrams-resolver that referenced this issue Mar 24, 2014
@rwjblue
Copy link
Member

rwjblue commented Mar 24, 2014

Addressed by #36.

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 a pull request may close this issue.

3 participants