QUALITY PATCH

ACSD-54283: Products/Categories not assigned to the Shared Catalog for the Default (General Group)…

Products/Categories not assigned to the Shared Catalog for the Default (General Group) are still included in the XML Sitemap. Quality patch ACSD-54283 for magento/module-sitemap applies to Magento Open Source and Adobe Commerce 2.4.3 to 2.4.3-p3.

Categories
Other, Catalog/Product
Components
magento/module-sitemap, magento/module-url-rewrite, magento/module-catalog-permissions
Origin
adobe-commerce-support

No Adobe documentation page exists for this patch.

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 ACSD-54283. On Cloud, add ACSD-54283 under stage.build.QUALITY_PATCHES in .magento.env.yaml.

For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACSD-54283/ 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 (2): magento/module-sitemap, magento/module-url-rewrite
Packages across compatible versions (3): magento/module-sitemap, magento/module-url-rewrite, magento/module-catalog-permissions

magento/magento2-base >=2.4.3 <2.4.4

Magento Open Source
2.4.3-p3, 2.4.3-p2, 2.4.3-p1, 2.4.3
Adobe Commerce
2.4.3-p3, 2.4.3-p2, 2.4.3-p1, 2.4.3
Patch file
patches/os/ACSD-54283_2.4.3.patch
  • vendor/magento/module-sitemap/Model/ResourceModel/Catalog/Category.php
  • vendor/magento/module-sitemap/Model/ResourceModel/Catalog/CategorySelectBuilder.php (added)
  • vendor/magento/module-sitemap/Model/ResourceModel/Catalog/Product.php
  • vendor/magento/module-sitemap/Model/ResourceModel/Catalog/ProductSelectBuilder.php (added)
  • vendor/magento/module-url-rewrite/etc/db_schema.xml
  • vendor/magento/module-url-rewrite/etc/db_schema_whitelist.json

magento/magento2-ee-base >=2.4.3 <2.4.4

Magento Open Source
—
Adobe Commerce
2.4.3-p3, 2.4.3-p2, 2.4.3-p1, 2.4.3
Patch file
patches/commerce/ACSD-54283_2.4.3.patch
  • vendor/magento/module-catalog-permissions/Plugin/Sitemap/Model/ResourceModel/Catalog/CategoryPlugin.php (added)
  • vendor/magento/module-catalog-permissions/Plugin/Sitemap/Model/ResourceModel/Catalog/ProductPlugin.php (added)
  • vendor/magento/module-catalog-permissions/etc/di.xml
  • vendor/magento/module-catalog-permissions/etc/module.xml

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.