Skip to content

"Out of memory crash" on "Cart Price Rules" setting based on category condition  #15448

Closed
@ghost

Description

Preconditions

  1. Magento 2.2.4
  2. PHP 7.1.12

Steps to reproduce

  1. In CMS, click Marketing -> Promotions -> Cart Price Rules -> Add New Rule
  2. In Conditions, click Add button(the "+" symbol) select "Product attribute combination"
  3. Click the new "+" button, select "Condition" in the "Please choose a condition to add" dropdown
  4. Click "...", then click the "Open Chooser" icon

Expected result

  1. Category checkbox tree should appear

Actual result

  1. The browser freezes and will crash or display a js debug console with message "Paused before potential out-of-memory crash" in 10-40 seconds.
    cart_rules_issue01
    cart_rules_issue02

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: 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