MDVA-31343 Magento patch fixes the issue where the assigned layout body CSS class for a category gets removed during scheduled update. This patch is available when the Quality Patches Tool (QPT) 1.0.7 is installed. The issue is scheduled to be fixed in Magento 2.4.2.
Affected products and versions
The patch is created for Magento version: Magento Commerce Cloud 2.3.5-p2.
The patch is also compatible with:
Magento Commerce and Magento Commerce Cloud from 2.3.4 to 2.3.5-p2.
Note: the patch might become applicable to other versions with new QPT tool releases. To check if the patch is compatible with your Magento version, run
./vendor/bin/magento-patches status .
Layout body class gets removed from the category after scheduled update.
Steps to reproduce: 1. In Magento Admin, create a category.2. Set Layout = Category -- Full width in the Design section.3. Save the category.4. Go to category frontend page. In the page source notice the
CSS class. 5. Under CATALOG > Category , click Schedule New Update in the Scheduled Changes section for the new category.6. Wait for the scheduled update to start, run cron and flush cache.7. Go to the category page on the frontend and inspect the page source.
Actual result: In the page body, you see the
CSS class, which is default for the category page.
Expected result: In the page body, you see the
Apply the patch
For instructions on how to apply an QPT patch, use the following links depending on your Magento product:
- Magento Commerce: DevDocs Apply patches using Quality Patches Tool .
- Magento Commerce Cloud: DevDocs Upgrades and Patches > Apply patches .
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool released: a new tool to self-serve quality patches .
- Check if patch is available for your Magento issue using Quality Patches Tool .
For info about other patches available in QPT tool, refer to the Patches available in QPT tool section.