I have two stores: Users and Friends, holding respectively list of Users and their Friends.

My problem is that when I try to reject the changes only the Users store return to its original state.


Please look at the following fiddle:

Steps to reproduce:

1. Select user from the users grid

2. Alter something in the binded form

3. Remove some of its friends from the friends grid

4. Click revert changes button on the top


Outcome: The user record its returned to its original state, but the friends list is not

Desired outcome: Both grids to return to their original state


The code related to the revert is around line 160.


http://ift.tt/1ANPg9N


Please note that this works fine when there is no session set. However I would like to take advantage of the session and want to know if this is a bug or how should I tackle it so it works.


Thanks.