Displaying the value of a property of a relation two steps away throws error #498

Closed
rickard2 opened this Issue Nov 29, 2012 · 2 comments

Comments

Projects
None yet
1 participant

This simplified example throws Something you did tried to replace an {{expression}} before it was inserted into the DOM.

    {{#each post in App.posts}}
            {{#each comment in post.comments}}
                    {{ comment.author.name }}
            {{/each}}
    {{/each}}

If i just use {{ comment.author }} or wrap it in a if-statement it seems to work.

JSBin example: http://jsbin.com/uyiges/6/edit

I have code like this working with embedded associations using an older version of ember/ember-data

This is still an issue with pre4, is there anything I can do to push this along?

This seems to have been fixed now in master, updated the jsbin and it seems ok now:

http://jsbin.com/uyiges/12/

rickard2 closed this Feb 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment