magento2: Unable add category to cart price rule by clicking on checkbox

Preconditions (*)

  1. Magento 2.3.4
  2. PHP 7.2.22

Steps to reproduce (*)

  1. Marketing > Cart Price Rules > Add New Rule
  2. Add conditions to Actions: choose “category”, click on the ellipsis, see the input field, click “Open chooser”, see the category tree
  3. Try to add category by clicking checkbox

Expected result (*)

  1. 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)

20200206_001

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 5
  • Comments: 25 (10 by maintainers)

Commits related to this issue

Most upvoted comments

@hws47a @sdzhepa closing this issue as not able to reproduce on latest latest 2.4-develop branch