Querying unrendered components results in "Cannot read property 'dom' of undefined" error
Querying unrendered components results in "Cannot read property 'dom' of undefined" error
Hi,
when querying unrendered ExtJS components, Siestas query function throws an error.
Can be reproduced (in an ExtJS test) with the following code:
Code: Select all
StartTest(function (t) {
new Ext.button.Button({ foo: true });
t.is(Ext.ComponentQuery.query('[foo]').length, 1);
t.query('>> [foo]'); // throws error
});
Could you please look into it and fix it?
- pmiklashevich
- Core Developer
- Posts: 3390
- Joined: Fri Apr 01, 2016 11:08 am
Re: Querying unrendered components results in "Cannot read property 'dom' of undefined" error
Thanks for the report! We will address!
Pavel Miklashevich - Core Developer
Re: Querying unrendered components results in "Cannot read property 'dom' of undefined" error
Fixed in the sources now, you can try it in the tomorrow nightly.
Re: Querying unrendered components results in "Cannot read property 'dom' of undefined" error
Thanks for the quick fix!
Unfortunately the nightly builds seem broken. It only downloads a 1kb file. Other nightlies (calendar, scheduler) do work.
- sergey.maltsev
- Core Developer
- Posts: 683
- Joined: Mon Dec 24, 2018 9:15 am
Re: Querying unrendered components results in "Cannot read property 'dom' of undefined" error
Hi, paulb!
Please tell which package are you trying to download with no success?
I've tried these ones and they are just fine.
scheduler-2020-12-18-release.zip (163 MB)
siesta-standard-2020-12-18.zip (216 MB)
Re: Querying unrendered components results in "Cannot read property 'dom' of undefined" error
Sorry, I missed that our licence has expired yesterday.