MDVA-37364: Custom customer attribute of date type breaks the Customer Grid UI
Custom customer attribute of date type breaks the Customer Grid UI. Quality patch MDVA-37364 for magento/module-ui applies to Magento Open Source and Adobe Commerce 2.4.0 to 2.4.3-p3.
- Categories
- Admin
- Components
- magento/module-ui
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.2
Issue
Custom customer attribute of date type breaks the Customer Grid UI.
Steps to reproduce
1. Create a custom attribute with date type: * Go to Stores > Attributes > Add Attribute. * Set the Input Type to Date. * Set the Add to Column Options to Yes. * Save the attribute. 1. Go to Admin > Customers > All Customers. * Add the newly added custom attribute to the grid from the columns option. 1. Create/Edit a customer and set the value of the created custom date attribute field. 1. Save, reindex, and clear cache. 1. Go to Customers > All Customers. * Check the Customer Grid.
Adobe's page lists 2.4.0-2.4.2-p2 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.
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-37364. On Cloud, add MDVA-37364 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-37364/ 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
magento/magento2-base >=2.4.0 <2.4.4
- Magento Open Source
- 2.4.3-p3, 2.4.3-p2, 2.4.3-p1, 2.4.3, 2.4.2-p2, 2.4.2-p1, 2.4.2, 2.4.1-p1, 2.4.1, 2.4.0-p1, 2.4.0
- Adobe Commerce
- 2.4.3-p3, 2.4.3-p2, 2.4.3-p1, 2.4.3, 2.4.2-p2, 2.4.2-p1, 2.4.2, 2.4.1-p1, 2.4.1, 2.4.0-p1, 2.4.0
- Patch file
- patches/os/MDVA-37364_2.4.2.patch
- vendor/magento/module-ui/view/base/web/js/grid/columns/date.js
