This is related to thread - http://ift.tt/1Bz2Zlg

But it seems the issue with one-to-many relation using reference is not addressed.

I am trying to load a user with roles, but even when the user has multiple role only one gets loaded. Check the below fiddle -

http://ift.tt/1tvtpEa

I have two type of user in the system Admin user and End User. Both has the same JSON response. But different fields but both have same role structure. So I create two User model both with a "userRole" field associated with reference. But only one role is loaded.


I am using Ext JS version 5.1.0.107 and I do have a foreign key relation in database