1 Apr 2013 2:14 PM #1
MVC Unit Testing Guide no longer works with Ext 4.2.0
After upgrading to Ext 4.2.0, I find the MVC Unit Testing Guide to no longer work. Specifically I get the following error in Chrome:
Uncaught Ext.app.Application.constructor(): [Ext.app.Application] Name property is required
In the guide, app-test.js creates an Ext.app.Application object with a config object, and the name property is set. However looking at the Ext 4.2.0 source for app.Application, the constructor now tests for the name property to be set without calling Ext.apply() on the config object first.
I see that the Ext 4.1.1a version (which worked fine for me) of this constructor used Ext.apply() to apply the config object and then tests that the name property was set.