-
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
Hard dependency on magento/module-admin-adobe-ims in magento/module-two-factor-auth #35962
Comments
Hi @peterjaap. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 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, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ 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.
|
Hi @engcom-Alfa. Thank you for working on this issue.
|
✔️ Issue confirmed Issue got reproduced in Magento 2.4.5 . Description: Hard dependency on magento/module-admin-adobe-ims in magento/module-two-factor-auth Steps to reproduce:
Expected result: Note: It has been observed 2FA is disabled or enabled issue is same. Hence, confirming the issue. Thanks |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-6428 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Lima. Thank you for verifying the issue. |
It looks like this was added / introduced in magento/security-package@32beaeb, but I can't find a pull request nor any context on GitHub. |
Is there a work around to fix this issue ATM? |
Yes, see my OP |
Bytheway, this issue is very similar to #35479 but it concerns |
I suggest that the Magento core team uses https://github.com/yireo/Yireo_ExtensionChecker/ to make sure all dependencies are found 🙈 |
fixed in magento/security-package@4f5e220 |
Preconditions and environment
Magento 2.4.5
When removing
magento/module-admin-adobe-ims
from the codebase by using the "replace" section incomposer.json
,bin/magento setup:di:compile
fails because of a hard dependency on the fairly unrelated modulemagento/module-two-factor-auth
.This constitutes bad separation of concerns.
Steps to reproduce
replace
section in thecomposer.json
;composer update
bin/magento setup:di:compile
Expected result
Compile finishes correctly
Actual result
Additional information
The workaround right now is to remove
module-adobe-ims*
modules from the replace section, so they are included in the codebase, which we don't want.Another workaround is to also remove
magento/module-two-factor-auth
from the codebase, which is even less desirable.Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: