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

route with capital letter not found, gives no feedback #15108

Closed
kellyselden opened this issue Apr 4, 2017 · 3 comments
Closed

route with capital letter not found, gives no feedback #15108

kellyselden opened this issue Apr 4, 2017 · 3 comments

Comments

@kellyselden
Copy link
Member

Example: https://ember-twiddle.com/72436e7401af89db7664788128ff446e

I spent a while debugging an issue. It turned out to be a camel-case route not rendering, but no feedback or error in the console. I did see a message in the console that said "template was not found" or something, but that didn't help me during my debugging session. I thought I had a swallowed error somewhere else that was causing the whole route to fail.

We should provide an error when this happens.

@netes
Copy link

netes commented Apr 6, 2017

I'm not sure if this should be treated as an issue. ember generate won't let you create uppercased routes and also the whole convention of naming particular elements, starting from routes and ending on components is based on lowercased names.
For me it looks like a perfect fit for a linter rule though. What do you think?

@netes
Copy link

netes commented Apr 6, 2017

I also found an identical issue here:
#14783

@kellyselden
Copy link
Member Author

Closed as duplicate.

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