Closed zack6849 closed 6 years ago
@zack6849, did you clear var/generation
and cache?
Yes, when I disable the module, I run the following command before testing again:
rm -rf var/cache/* var/generation/* var/page_cache/* var/di/* var/view_preprocessed/*; bin/magento cache:flush; bin/magento setup:upgrade; bin/magento setup:di:compile; bin/magento setup:static-content:deploy
Seems, some cache still exists. I've checked on the latest 2.1-develop branch, all works as expected, the Braintree module can be safely disabled.
Is that equivalent to 2.1.10?
I don't see any way some cache could still exist, it seems to be pretty easily reproducible on my end even though i clear all the cache files, and explicitly run the magento cache:flush command
No, because at least latest 2.1.x release is 2.1.11, the 2.1-develop branch contains more fixes than previous versions.
I updated our installation to 2.1.11 and we're still seeing the same issue :/
@zack6849 , thank you for your report. We are not able to reproduce this issue by the steps which you provided. Please, try to reproduce this problem on clean Magento installation or provide more additional information? Maybe are you using some third-party extensions?
Seems to be related to version 2.4.1 of the Dotmailer extension.
Issue created at https://github.com/dotmailer/dotmailer-magento2-extension/issues/494
You guys may want to confirm this issue doesn't happen on 2.2.x, since from what I understand the dotmailer extension is now bundled with magento?
@zack6849, thank you for your report. We've created internal ticket(s) MAGETWO-86247 to track progress on the issue.
@zack6849 are you able to use xdebug to see what is calling getMethodInstance
with the Braintree payment option? https://github.com/magento/magento2/blob/2.1-develop/app/code/Magento/Payment/Helper/Data.php#L101 It would help out massively to know the entry point into this call.
Thanks
@dmanners I can't do that at the moment, but it looks like the dotmailer team know what the issue is, maybe contact them? They responded to my ticket https://github.com/dotmailer/dotmailer-magento2-extension/issues/494
@zack6849 @dmanners @joni-jones Thank you for investigation. Closing this ticket for now, as the issue seems to originate from different vendor.
Preconditions
Steps to reproduce
Expected result
Actual result
As expected, re-enabling the Magento_Braintree module makes the system work again.