-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[BUG 2.15.0-beta] Closure actions can't receive primitive numbers #15470
Comments
👍 , This is breaking ember-concurrency builds testing against beta https://travis-ci.org/machty/ember-concurrency/jobs/251041405 |
Specifically the ember-concurrency breakage is due to the following (from here): <p>
{{#press-and-hold-button
press=(perform incrementBy -1)
release=(cancel-all incrementBy)}}
--Decrease
{{/press-and-hold-button}}
{{#press-and-hold-button
press=(perform incrementBy 1)
release=(cancel-all incrementBy)}}
Increase++
{{/press-and-hold-button}}
</p> The raw |
This also breaks liquid-fire's test suite. If anybody wants an easy test case, run the dummy app and visit /#/scenarios/model-dependent-rule/1 |
Can someone confirm that the latest canary builds (which will be published in ~ 15 minutes) fox the issue? I'll cherry pick the update into beta branch (and release a new beta) once confirmed... |
I confirmed that canary fixes both liquid-fire's test suite and Miguel's reproduction. |
Awesome, thank you for confirming @ef4! I just pulled the fix into I'm closing this for now, but I'd really appreciate it if everyone affected by this bug could test latest beta builds and confirm things are working properly now. There is only one week before 2.15.0 final, and I'd really like to ensure we don't release with this issue... |
I found that you can't pass decimal or negative numbers to closure actions anymore:
Reproductions:
Twiddle: https://ember-twiddle.com/e255ab664fff5204791ed86577f0d7a1?openFiles=templates.application.hbs%2C
Other repo: https://github.com/cibernox/demo-error-closure-action
The text was updated successfully, but these errors were encountered: