-
-
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
Regression 2.4.x wrong block param value {{with}} helper #13045
Comments
Thank you for opening the issue, I'll take a look to see if I missed the fixing commit in the 2.4 branch. |
I can confirm this. |
This fixes an issue in HTMLBars where passing a truthy proxy (i.e. `{ isTruthy: true, ... }`) to `{{#with}}` would end up yielding the literal `true` rather than the proxy itself. The Glimmer implementation is unaffected by this bug. Fixes #13045
I can also confirm this - Using the https://github.com/lozjackson/ember-test The test passes in 2.3.1, but fails in 2.4.1 (haven't tried 2.4.0). |
We have a fix, which should be released in a couple days... |
is there a branch I can try so I can (help) test the fix? |
@lozjackson - The fix just landed and should be available for testing in canary, beta, and release builds within a few minutes. You can test release via |
thanks.. I can confirm that it fixes the bug. |
Block param used in with helper returns wrong value (truthy value instead of object) when used for example with a belongsTo relationship of a model as block param.
JSBin: http://emberjs.jsbin.com/vetezutapa/3/edit?html,js,output
The text was updated successfully, but these errors were encountered: