-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #30094 function call on array #30516
Conversation
Fixes #30094: Call to a member function getId() on array in module-sales/view/adminhtml/templates/order/totals/tax.phtml:62
@magento run all tests |
@magento run 3 |
@magento run Functional Tests EE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Morgy93. Thank you for providing the fix. Could you, please, check my suggestions below?
Thanks!
@rogyar Thanks for the review! I just replied to your comment. |
See.... without any changes the Functional Tests EE succeeded. After the third try.. |
@magento run Functional Tests B2B |
Hi @Morgy93. According to the definition of done all the changes must be covered with automated tests. Could I ask you to cover this fix with an MFTF test, please? Thank you |
@rogyar There's already a MFTF test for that page: Correct me if I'm wrong, but it doesn't seem to need an update, |
Hi @Morgy93. We don't have a test that reproduces the steps described in the original issue and checks that we don't have the error anymore. So, we need to add a new test. Basically, the new test will do the following
Hope it will help |
Actually there's an issue already: #30094 (comment) It just got closed as "non-reproducible". |
so basically we have the fixes landed to 2.4-develop right!? So wild. Never imagine another fix come from another places |
So this fix seem redundant! But thanks you for your working efforts @Morgy93 at this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is ridiculous! We're waiting for almost a year to have this issue fixed, provided MULTIPLE valid fixes / PR and it involved many official staff who all refused to apply them. Big thanks to every single one of you who contributed here! Closed~ |
Hi @Morgy93, thank you for your contribution! |
@sidolov: maybe you can communicate with Adobe's internal Magento developers to first check github for open PR's when they are presented an issue they have to resolve. That could save some frustration from the community and might speed things up for accepting/merging PR's here. /cc @o-dubovyk |
@Morgy93 I apologize for the situation that happened here! Usually, we have a copy of every issue in our backlog for internal teams and developers have to check for open public pull requests first. In this case, the same issue was reported and fixed by the internal developer, that's why identical fixes came from different sources. I'm pretty sure, anyone didn't mean to copy your fix and deliver it as a part of the core code. We will try to adjust the process to avoid such cases! |
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)
Manual testing scenarios (*)
tax/sales_display/full_summary
to1
/admin/sales/invoice/view/invoice_id/1/
)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#L91Contribution checklist (*)
Resolved issues:
Resolved issues: