inventory icon indicating copy to clipboard operation
inventory copied to clipboard

The inventory columns in the product grid are empty if the SKU contains double quotes

Open DmitryFurs opened this issue 4 years ago • 2 comments

Preconditions (*)

  1. Magento 2.4.2
  2. Products with double quote (") in sku

Steps to reproduce (*)

  1. Create product with double quote (") in sku
  2. Assign to custom source
  3. Open catalog product grid in admin ui

Expected result (*)

  1. Columns Quantity per Source and Salable Quantity display the number of available products

Actual result (*)

  1. Columns Quantity per Source and Salable Quantity are empty image

  2. Although the product is linked to the source image

Additional notes

The reason is because the modifier for the Quantity per Source column is an order later than the attribute modifier, which escapes the product name and SKU.

For the Salable Quantity column, we have another issue, the extension describes the column in the listing without the modifier, and as a result, when the column class processes the value, it works with the already escaped sku.

DmitryFurs avatar Apr 27 '21 09:04 DmitryFurs

Hi @DmitryFurs. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


m2-assistant[bot] avatar Apr 27 '21 09:04 m2-assistant[bot]

I can confirm this issue is happening on M2.4.3-p1. Is there any solution to this issue?

Screenshot 2022-04-05 at 13 02 12

pauldonnelly avatar Apr 05 '22 12:04 pauldonnelly