Skip to content

[Issue] fix #30094 function call on array #33638

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #30516: fix #30094 function call on array


Description (*)

Fixes #30094:
Call to a member function getId() on array in module-sales/view/adminhtml/templates/order/totals/tax.phtml:62

Fixed Issues (if relevant)

  1. Fixes Call to a member function getId() on array in module-sales/view/adminhtml/templates/order/totals/tax.phtml:62 #30094

Manual testing scenarios (*)

  1. Set config tax/sales_display/full_summary to 1
  2. Open any invoice (e.g. /admin/sales/invoice/view/invoice_id/1/)

Complete reproducible steps are here

Questions or comments

Issue is introduced here 70ede03
Using the same rather "workaround" as below for $infoId: https://github.com/magento/magento2/blob/2.4.1/app/code/Magento/Sales/view/adminhtml/templates/order/totals/tax.phtml#L91

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

Labels

Component: SalesPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.4.2Severity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions