Skip to content

[backend] Performance issues with the bulk edit component #7789

Closed
@guvra

Description

@guvra

Description

The bulk edit component has huge performances issues.
Each time bulk edit mode is enabled (using the "Modify" mass action), the component becomes exponantially slower, up to a point where the browser freezes.

This problem occurs on all grids that rely on the bulk edit component (customers, CMS blocks, CMS pages).

Preconditions

  1. Reproduced on Magento 2.1.2.
  2. Tested browsers : Chromium and Firefox

Steps to reproduce

I can consistently reproduce the bug with the following steps:

  1. In the backend, go to a grid that uses the bulk edit component (e.g. CMS blocks). Make sure the grid contains at least 40 records (2 pages of 20 records).
  2. Select all records.
  3. Enable bulk edit, by selecting the "Modify" mass action (inline editing should work fine here).
  4. Go to page 2.

Expected result

  1. The bulk editor should replace records from page 1 with records from page 2.

Actual result

  1. The browser freezes.

We planned to use this component for a custom price management grid, but the performance issues forced us to reconsider this choice 😞

Metadata

Metadata

Labels

Issue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions