QUALITY PATCH

MDVA-39923: Searching by SKU in B2B quick order functionality is case-sensitive and shows an error…

Searching by SKU in B2B quick order functionality is case-sensitive and shows an error when a different case is used than the one with which the SKU is saved. Quality patch MDVA-39923 for magento/module-shared-catalog applies to Magento Open Source and Adobe Commerce 2.4.1 to 2.4.2-p2.

Categories
B2B
Components
magento/module-shared-catalog
Origin
adobe-commerce-support
Since QPT
1.1.2

Issue

Searching by SKU in B2B quick order functionality is case-sensitive and shows an error when a different case is used than the one with which the SKU is saved.

Steps to reproduce

1. Log in to the admin and go to Stores > Configuration > B2B. 1. Enable Shared Catalog and Quick Order. 1. Create a product with uppercase SKU, e.g., TEST20-1234 1. Assign created product to the Shared Catalog. 1. Log in as a customer and click on Quick Order. 1. Enter the SKU in lowercase, e.g., test20-1234.

Adobe's page lists 2.4.1 – 2.4.2-p2 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.

Adobe scheduled the permanent fix for 2.4.4.

Install

Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply MDVA-39923. On Cloud, add MDVA-39923 under stage.build.QUALITY_PATCHES in .magento.env.yaml.

For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its MDVA-39923/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.

Patch files and compatible versions

Packages across compatible versions (1): magento/module-shared-catalog

magento/magento2-b2b-base >=1.3.0 <1.3.2

Magento Open Source
—
Adobe Commerce
2.4.2-p2, 2.4.2-p1, 2.4.2, 2.4.1-p1, 2.4.1
Requires
MDVA-33894
Patch file
patches/commerce/MDVA-39923_1.3.0-p1.patch
  • vendor/magento/module-shared-catalog/Plugin/AdvancedCheckout/Model/HideProductsAbsentInSharedCatalogPlugin.php

Sources

Łukasz Bajsarowicz
Built by

Łukasz Bajsarowicz, e-commerce architect

Magento and Adobe Commerce architecture, upgrades, performance and audits for merchants and agencies since 2015; magento.watch is the tooling I use on those projects.

Open source, maintained on weekends.