Closed quaertym closed 9 years ago
ya this is an issue now. Can you provide a failing test as it would make it a quicker start for someone planning to tackle it.
Should be fixed by SSOT, but I am happy to merge a failing test into the branch to make sure.
@igorT ya, the fix makes more sense via SSOT then doing it adhoc for now.
@igorT I have a fix but it might not be the best solution. I'll just write the test for now.
@igorT test is ready
Thanks for the test, I'll apply it to the SSOT branch before merging
@igorT should I rebase?
Thanks so much for the test. Sorry for not merging it sooner my bad :( I added a bunch of rollback tests for all possible combinations on #2262 instead
After rollback() is called on an already saved model, belongsTo and hasMany relations become null in the model. This change is temporary, it is not persisted in the store, the relations are loaded correctly after refresh.