Skip to content

Related/up-sells/cross-sells products are not being added and product edit page gets break #38582

Open
@imran9935

Description

@imran9935

Preconditions (*)

Tested in this versions:

  1. Magento 2.4.6-p4
  2. Magento Developer branch

Description (*)

When navigating to the related, up-sells, or cross-sells products section, and trying to add multiple related/up-sells/cross-sells products by de-selecting some products, from filtered selected products list, then product edit page gets break, and products are not being add.

Screenshot 1:
image

Screenshot 2:
image

Screenshot 3:
image

Steps to reproduce (*)

  1. Access magento admin panel.
  2. Add 4000+ products and edit one product ( Add products by using profiler, setup/performance-toolkit/profiles/ce/medium.xml).
  3. Navigate to the "Related Products, Up-Sells, and Cross-Sells" section and click Add Related Products.
  4. Click On the “Filters” and filter 60+ products.
  5. Click on “Select All” and select all filtered products screenshot-1.
  6. De-select some products from selected products list screenshot-2.
  7. Click on “Add Selected Products” button and then observe, product edit page gets break and products are not being loaded

Expected result (*)

Related/up-sells/cross-sells product should be add, while de-selecting some products from filtered selected products list

Actual result (*)

Product edit page gets stuck while trying to add products by de-selecting some products from filtered selected products list.

Additional information(*)

The issue occurs when there are 4000+ products, and trying to add products by deselecting some products from the filtered selected products list. As, related, upsell, and cross-sell products are being added properly, when we add all filtered selected products without de-selecting any products, and also products are being add propery while increasing page limit screenshot-4.

Screenshot 4:
image

Metadata

Metadata

Assignees

Labels

Area: ProductComponent: ProfilerIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.6-p4Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions