PDA

View Full Version : [FIXED] [4.2.1.760] Application#appFolder broken for derived classes



damien
15 Apr 2013, 5:08 AM
A custom appFolder configuration is lost when creating a sub-class hierarchy of more than one level. E.g. Ext.app.Application > myapp.app.AbstractApplication > myapp.app.MyApplication.

If AbstractApplication defines the 'appFolder' property, it is 'lost' when sub-classing AbstractApplication again.

The offending line is in Ext.app.Application#onClassExtended



Ext.Loader.setPath(data.name, data.appFolder || 'app');


data.appFolder for MyApplication is undefined if the value is inherited from the parent class (here: AbstractApplication).

slemmon
15 Apr 2013, 6:57 AM
Thanks for the report! I have opened a bug in our bug tracker.