- Notifications
You must be signed in to change notification settings - Fork 9.4k
magento/magento2#33980: Using virtual type to configure plugin, interceptor method cannot be generated correctly in setup:di:compile command #38141
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
magento/magento2#33980: Using virtual type to configure plugin, interceptor method cannot be generated correctly in setup:di:compile command #38141
Conversation
…generated correctly in setup:di:compile command
…onfigurationBuilder.php Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>
…generated correctly in setup:di:compile command 1. Make changes in constructor backward compatible 2. Fix static tests - extract to separate method - replace array_merge in loop with a single array_merge
…generated correctly in setup:di:compile command magento#33980
Hi @GrassH. Thank you for your contribution! Add the comment under your pull request to deploy test or vanilla Magento instance:
❗ Automated tests can be triggered manually with an appropriate comment:
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run Sample Data Tests CE,Sample Data Tests B2B,Sample Data Tests EE |
Failed to run the builds. Please try to re-run them later. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run Functional Tests CE, Functional Tests EE |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento Functional Tests B2B, Functional Tests CE, Functional Tests EE, Unit Tests |
@magento run all tests |
Hello @GrassH, Thanks for your contributions! I tried testing the changes with this module, but when I ran the bin/magento s:d:c command, I encountered the following error: ![]() However, after implementing the PR changes, I no longer got an error and got the following output instead: ![]() Without the PR changes, we should be seeing result 2 (as mentioned in the issue description), but instead, we’re getting an error. Could you please take a look and let me know if it's the correct behavior or if I’m missing anything? Thanks! |
Hello @engcom-Dash, Thanks for your test.
If there are any further questions or concerns, please feel free to reach out. |
Thanks @GrassH for detailed clarification. Moving this PR to Extended Testing since the builds are failed. |
@magento run all tests |
@magento run Static Tests, Functional Tests B2B |
The Functional B2B test failures are not consistent in recent 2 builds. Seems to be flaky, hence moving it to Merge in Progress. Run 1: https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/38141/2dee1e2bcfe6a913f9a8a87c34bf05ca/Functional/allure-report-b2b/index.html#categories/6e0f61c8b67b0f191eaf93c92554bd16/fec19c13a09f308/ Run 2: https://public-results-storage-prod.magento-testing-service.engineering/reports/magento/magento2/pull/38141/6dfce53f7f9e013212c4c7b915431a5c/Functional/allure-report-b2b/index.html#categories/16b25a50b4a8b68f5548cdba82ebd5f8/58a726a39d59b0fb/ |
@magento run all tests |
Hi @engcom-Dash, It seems that one failure is constant in both the builds. Requesting you to recheck it once. Hence moving it back to Extended Testing. |
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
@magento run Functional Tests EE, Functional Tests CE |
@magento run all tests |
@magento run all tests |
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B |
afb0b4e
into magento:2.4-develop
Description (*)
Using virtual type to configure plugin, interceptor method cannot be generated correctly in setup:di:compile command
Related Pull Requests
#33981
Fixed Issues (if relevant)
Manual testing scenarios (*)
Result is 0;
Result is 0;
Questions or comments
Contribution checklist (*)