Nested helpers can render the wrong block #463

Closed
justanotherjones opened this Issue Mar 6, 2013 · 4 comments

Projects

None yet

4 participants

This is most easily explained by this jsfiddle: http://jsfiddle.net/NrdNk/

The result should be 'ONE TWO' but we get 'ONE ONE'. The two 'wrapper' blocks are treated as identical even though only their outer portions match.

A workaround is to differentiate the two blocks: 'wrapper-one' and 'wrapper-two'

jpongin commented Mar 16, 2013

Yes, I can confirm this bug. For me, nesting "#if"'s within a "#with" helper block renders the wrong block.

Work around here is to not nest any "#if"'s within a "#with" block.

ericf commented Mar 21, 2013

This seems like a big issue. I've run into this as well.

ericf commented Mar 21, 2013

@jonesybighammer This appears to be fixed in v1.0.10. I think this is worth revving to 1.0.0-rc.4 as well. People using the 1.0.0-rc.3 tag will get bit by this issue.

Collaborator
kpdecker commented Apr 7, 2013

Closing as this is fixed in master. We are working on the next client release and hope to have that update shortly.

@kpdecker kpdecker closed this Apr 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment