-
14 May 2012 8:39 AM #11
-
14 May 2012 9:22 AM #12
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.Jason Johnston
@lojjic
Sencha Architect Development Team
-
14 May 2012 9:26 AM #13
-
14 May 2012 9:50 AM #14
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.Jason Johnston
@lojjic
Sencha Architect Development Team
-
14 May 2012 10:00 AM #15
Ok, I will make this change and report back in a few.
-
14 May 2012 10:09 AM #16
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.
-
14 May 2012 3:45 PM #17
I believe the update with the fix is pushed out.
Thanks for providing the project and reporting this.Bharat Nagwani
Sencha Designer Development Team
-
15 May 2012 9:36 AM #18
Thanks, Jason and Bharat, for your quick handling of this issue! I have upgraded to 442 and my application works just fine.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote