Skip to content

Ui-select wrong behaviour  #36954

Closed
@Nuranto

Description

@Nuranto

Preconditions and environment

  • Magento version 2.4.5-p1

Steps to reproduce

  1. Open Pagebuilder in any CMS content
  2. Add a button
  3. Press configure icon on that button
    Capture d’écran 2023-03-03 à 15 22 01
  4. Set "Button Link" to Product
  5. Search for a product.

Expected result

The results are shown, without intermediate results

Actual result

The results are shown, with intermediate results and duplicate

Capture d’écran 2023-03-03 à 15 31 59

Additional information

It is not 100% reproductible. I guess it depends on how many XHR requests are sent, and how long they last, so you might have to play a bit with it to reproduce.

Solution is probably to cancel active XHR when a new XHR is sent. See vendor/magento/module-ui/view/base/web/js/form/element/ui-select.js::processRequest()

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions