-
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
Using virtual type to configure plugin, interceptor method cannot be generated correctly in setup:di:compile command #33980
Comments
Hi @GrassH. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Lima. Thank you for working on this issue.
|
Verified the issue and reproducible on 2.4-develop instance. Below are the steps that I did to reproduce:
There is a difference in the result of Pre-compilation and runtime compilation. |
✅ Jira issue https://jira.corp.magento.com/browse/AC-1181 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Lima. Thank you for verifying the issue. |
…yment methods, Remove Unit Tests, Change AbstractMethod with BuckarooAdapter Trying to remove all afterCancel Order plugins and use virtualType instead but from 2.4.2 using virtualType as the class of the plugin doesn't work magento/magento2#33980
…generated correctly in setup:di:compile command magento#33980
@magento I am working on this |
Preconditions (*)
Steps to reproduce (*)
Vendor\Module\Plugin\Overload:
Vendor\Module\Model\Calculator:
Vendor\Module\Console\Command\TestCommand:
generated
and execute commandbin/magento setup:di:compile
bin/magento test:plugin:calculate
Result is
2
generated
and execute commandbin/magento test:plugin:calculate
Result is
0
Expected result (*)
0
.Actual result (*)
2
0
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: