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: MagentoFrameworkViewElementUiComponentFactory::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: MagentoFrameworkViewElementUiComponentFactory::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