View Full Version : [Ext.createByAlias] Unrecognized alias: store.chained

9 Apr 2018, 7:30 AM
I tryed to migrate my project from ExtReact 6.5.1 to 6.5.3 version and I obtain the error: [Ext.createByAlias] Unrecognized alias: store.chained
What does it means?

Thank you.

16 Apr 2018, 5:57 AM
emaze -

I ran into this too. Our assumption is one of two things, either:

@extjs/reactor-webpack-plugin is missing the need to include ChainedStore; or,
@extjs/reactor-webpack-plugin is not being told to include ChainedStore by the underlying class loader within the Ext ecosystem

If you explicitly require ChainedStore at the top of your code, it should solve your problem:

Ext.require[{ "Ext.data.ChainedStore" }];

My specific encounter was when attempting to load a simple array of options for the ComboBoxField ExtReact component using the data or options property. No matter which property I applied the array to, even when setting queryMode="local", I got the error you mention. Best guess is that when creating a store for the component from the passed-in array, Ext is needing ChainedStore but it's not being properly required by the under-the-hood code.

As you correctly state, the error does not occur in v6.5.1, but does appear in v6.5.2 and v6.5.3.

18 Apr 2018, 12:44 AM
Thank you Jasel_ExtJS, you are right.

resolve the problem.
Even in my case I try to load a simple array into ComboBoxField.