PDA

View Full Version : [4.0.7] With Loader enabled, TreeStore reports superfluous warnings.



dmurat
20 Oct 2011, 11:54 AM
Reported warning is "Store defined with no model. You may have mistyped the model name."

To reproduce, one can use ExtJS TreeGrid Example (ext-4.0.7/examples/tree/treegrid.html) and modify treegrid.html this way. Replace


<script type="text/javascript" src="../../bootstrap.js"></script>

with something like this:


<script type="text/javascript" src="../../ext-dev.js"></script>
<script>
Ext.Loader.setConfig({
enabled: true,
paths: {
'Ext': 'http://localhost/ext-4.0.7/src'
}
});

</script>


Reload, and look at console output.