Skip to content

Magento 2.2.4 - Condition Category Chooser Crashes Page if Store has Several Nested Categories #15121

@rjtulloh

Description

@rjtulloh

Preconditions

  1. Magento CE 2.2.4 PHP 7.1.17 and PHP 7.0.30
  2. Create a set of categories such that a category with no subcategories is followed by two categories that do have one subcategory. Issue can also be observed in environment with sample data freshly deployed.

Steps to reproduce

  1. Create a new Cart Price Rule from Marketing -> Cart Price Rules.
  2. Scroll to "Actions" section and open it.
  3. Under "Apply the rule only to cart items matching the following conditions (leave blank for all items)." section, add a new condition
  4. For the condition attribute, select "Category."
  5. Click on the ellipses, then open the Category Chooser.

Expected result

  1. List of categories should appear to select from.

Actual result

  1. No categories appear and the page becomes unresponsive and eventually crashes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions