PDA

View Full Version : Uncaught ReferenceError: childxtype is not defined



justdavey
10 May 2019, 5:07 AM
Exception is "Uncaught ReferenceError: childxtype is not defined at doAdd (ExtRenderer.js:440)"

Can be fixed by replacing "childxtype" with "childXtype" at lines 440 and 442.

Ext React 6.7.0

Forum_Adm
2 Jun 2019, 12:03 PM
Thank you so much for bringing this to our attention. I apologize for the delay. I have shared this with the support staff to look into at their earliest convenience. Your patience is greatly appreciated!

Thanks again,

Michele

rakumar
6 Jun 2019, 6:13 AM
Hello,

Thank you for bringing this to our attention., Is it possible for you to provide a fiddle for this issue.

Regards,
Kumar
Sencha Support.

justdavey
20 Jun 2019, 6:11 AM
- Do npm install @sencha/ext-react in a empty directory
- Open ExtRenderer.js in the src/ folder or dist/
- Go to line 428, doAdd function. Notice the childXtype argument
- Go to line 440, notice that is trying to access childxtype

justdavey
25 Jul 2019, 2:44 AM
If anyone is looking for the fix, I have created a gist. You can apply this patch with patch-package, see my comment for info.

https://gist.github.com/daveyvanniftrik/d2cb8535985e71d0f1f2f921324f59d1