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

Ember 2.15 Actions Not Found #94

Closed
donaldwasserman opened this issue Sep 8, 2017 · 4 comments
Closed

Ember 2.15 Actions Not Found #94

donaldwasserman opened this issue Sep 8, 2017 · 4 comments

Comments

@donaldwasserman
Copy link
Contributor

I just upgraded my app to ember 2.15. The various burger.state.actions.<toggle | open | close> result in an undefined error:

Error: Assertion Failed: You specified a quoteless path, toggle, to the {{action}} helper which did not resolve to an action name (a string). Perhaps you meant to use a quoted actionName? (e.g. {{action "toggle"}}).

Reverting ember-source, ember-cli back to 2.14 seems to resolve this issue.

After trying to put together a pull request to fix this issue, i can't replicate it in the Demo app of ember-burger-menu, so now I'm not sure if this is a me problem or something else.

@offirgolan
Copy link
Collaborator

@donaldwasserman any chance you can recreate this in a dummy app?

@donaldwasserman
Copy link
Contributor Author

Hey - Sorry about this. For some reason this is happening my app, but i can't recreate in isolation. Apologies.

@donaldwasserman
Copy link
Contributor Author

donaldwasserman commented Sep 13, 2017

For the google:

I put one of the state actions inside a partial inside the {{burger.outlet}} example

I couldn't find any release notes or documentation about it, but it doesn't appear you can access the component context like that

Actually - it turns out it may be an ember 2.15 bug: emberjs/ember.js#15621

@offirgolan
Copy link
Collaborator

@donaldwasserman thanks for the follow up! I'm glad you were able to find the root cause for the issue. Hopefully it gets fixed in a patch release soon 😄

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