Ok, sent.
Printable View
Ok, sent.
Thanks, got it and the loop is reproducible. After playing around a bit I noticed that you are using a ExtJS 4.1 RC build in your project. Swapping this out with 4.0.7 eliminates the problem, and I am able to reproduce the looping with a simplistic A->B,B->A association in a fresh project if I use the 4.1 library.
It appears Ext's loader got a bug introduced somewhere between 4.0.7 and 4.1 -- we will work with the Ext team to find the cause and any potential workarounds.
OK working with the Ext team the current best idea is to use the "uses" directive rather than "requires". I've tried this in the project you sent and it prevents the looping issue, but would you mind making that change in your local app files (all the app/model/*.js files, change "requires" to "uses") and make sure your app still functions properly with that change, i.e. all the associations function properly?
If this works for you then we'll make that change in Architect's code generation.
Ok, I will make this change and report back in a few.
Okay, I'm happy to report that changing all 'requires' statements to 'uses' (including in Viewport) fixes the issue. Even better, it does not break my build process with SDK Tools.
I believe the update with the fix is pushed out.
Thanks for providing the project and reporting this.
Thanks, Jason and Bharat, for your quick handling of this issue! I have upgraded to 442 and my application works just fine.