Description
Preconditions and environment
-
Magento version :- 2.4.7-p5
-
Anything else that would help a developer reproduce the bug
I have recently create an .xml file under the view/adminhtml/ui_component directory to override the functionality of core sales_order_grid.xml file to add the time as well along with the created_at filter.
After running all the deployment commands, when trying to access the sales > orders via admin, getting the below error:-
TypeError: Magento\Framework\View\Element\UiComponentFactory::argumentsResolver(): Argument #2 ($componentData) must be of type array, null given, called in /var/www/ocl/ecommerce/vendor/magento/framework/View/Element/UiComponentFactory.php on line 235 and defined in /var/www/ocl/ecommerce/vendor/magento/framework/View/Element/UiComponentFactory.php:183
I am implementing solution based on article here: https://stackoverflow.com/questions/47994925/magento-2-how-to-show-date-time-filter-in-sales-order-grid
Steps to reproduce
- Login to Magento admin portal.
- Go to Sales > Order.
- Apply filter on created_at.
Expected result
Orders placed between the applied filter dates should only show.
Actual result
Upon going to sales > orders, getting the below error:
TypeError: Magento\Framework\View\Element\UiComponentFactory::argumentsResolver(): Argument #2 ($componentData) must be of type array, null given, called in /var/www/ocl/ecommerce/vendor/magento/framework/View/Element/UiComponentFactory.php on line 235 and defined in /var/www/ocl/ecommerce/vendor/magento/framework/View/Element/UiComponentFactory.php:183
Additional information
No response
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.