Preconditions (*)
- Magento 2.3.4
- PHP 7.2.22
Steps to reproduce (*)
- Marketing > Cart Price Rules > Add New Rule
- Add conditions to Actions: choose “category”, click on the ellipsis, see the input field, click “Open chooser”, see the category tree
- Try to add category by clicking checkbox
Expected result (*)
- Category ID will appear in the input
Actual result (*)
Uncaught TypeError: Cannot read property 'updateElement' of undefined
at Ext.tree.TreePanel.Enhanced.<anonymous> (category-checkbox-tree.js:249)
at Ext.util.Event.fire (ext-tree.js:29)
at Ext.tree.TreePanel.Enhanced.fireEvent (ext-tree.js:29)
at Ext.tree.CheckboxNodeUI.check (ext-tree-checkbox.js:193)
at ext-tree.js:9
at Ext.tree.TreeNode.expand (ext-tree.js:201)
at Ext.tree.CheckboxNodeUI.check (ext-tree-checkbox.js:162)
at El.Flyweight.<anonymous> (ext-tree.js:9)
at HTMLInputElement.h (ext-tree.js:33)
at HTMLInputElement.M (legacy-build.min.js:8)

Fix from Magento Team https://github.com/magento/magento2/commit/e699d3feb9514ee73c8c0afc3fdb8b5c03ed18d5
@hws47a @sdzhepa closing this issue as not able to reproduce on latest latest 2.4-develop branch