Skip to content

After overriding the core sales_order_grid.xml present under Magento_Sales, While Accessing Orders Via Magento Admin, Getting the error #39938

Closed
@rishibankaradicle

Description

@rishibankaradicle

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

  1. Login to Magento admin portal.
  2. Go to Sales > Order.
  3. 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”.

Metadata

Metadata

Assignees

Labels

Issue: ready for confirmationReported on 2.4.7-p5Indicates original Magento version for the Issue report.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions