Data: flushCanonical broken, resurrecting oneToMany relationship changes

Created on 27 Apr 2015  路  7Comments  路  Source: emberjs/data

When removing items from a manyToOne relationship and persisting the child record ember data resurrects all old relationship in the parent once a new child is added to the relationship.

The hack right now is to save the parent record along with the child record

Needs Bug Verification

All 7 comments

@drewcovi thanks for pointing me to this new bug! I'll continue to watch for a fix. Also, appreciate you pointing out the workaround (albeit, not ideal)!

Is this still an issue?

I am still experiencing this

i am also still experiencing this

This should get cleaned up in the relationship refactor I've been working on

This should be resolved on master, with a remaining edge case handled by #5269.

If you still see this, it is likely a bug in the relationship payload being returned. There's a possibility that this is also another manifestation of #5006.

O em gee 馃檪

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HenryVonfire picture HenryVonfire  路  3Comments

graham-sportsmgmt picture graham-sportsmgmt  路  3Comments

kennethlarsen picture kennethlarsen  路  3Comments

maschwenk picture maschwenk  路  5Comments

toobulkeh picture toobulkeh  路  3Comments