-
12 Mar 2013 4:12 PM #1
In controller using views: 'Microsoft.view.MyView' generate many requests
In controller using views: 'Microsoft.view.MyView' generate many requests
With Ext JS 4.1.x, when having in my controller a views without array like:
That doesn't generate any error or warning. My application does work fine.Code:Ext.define('Microsoft.controller.clientManager.SectionDetail', { extend: 'Ext.app.Controller', views: ['Microsoft.view.MyView'], ...
When doing the same with Ext JS 4.2.0 RC. It generate one request to the server for a JavaScript file, for each letter, like
M.js
i.js
c.js
....
Beside expecting more reasonable behavior, I expect reasonable assertions are done when I'm using a debug version of the library.
-
12 Mar 2013 4:21 PM #2
It's not really a bug, since the docs say it's supposed to be an array, but I don't see any harm in allowing it to use a string as well.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-9105
in
4.2.1.


Reply With Quote