-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Fixed "if newsletter module disabled, customer backend would blank without notice" #3078
Conversation
This PR does not have a proper description. It would be natural to understand the issue, how to reproduce it and how to fix it. Looking in the source code and understanding the changes is not a thing at all a professional approach. |
I cannot replicate this issue:
Question: did you remove the Newsletter code from the core? |
A suggestion on PR: limit the file changes to one issue to make it easier to review. You have changes to files that do not seem to relate to Newsletter. Can you please remove those changes and commit again? You can make separate PRs for those which are removed. |
Yes, if disabled the module or remove the code you can see the problem. |
Yes, I may update the description to ' support remove the wishlist/giftmessage/sendtofriend/newsletter module without issues' |
As suggested by @elidrissidev, we need to do a proper separation of concerns. magento-lts/app/etc/modules/Mage_Customer.xml Lines 28 to 32 in 5318b86
All other modules here should be separated:
Besides the tabs, which can be easily added with the event Related to PR #2455. It means also PR #2533. And down the rabbit hole. What should we do? |
After looking more into this, IMO it's better to keep the refactoring until another major version, since it means moving classes around which breaks BC. For now, handling with a condition is good enough. |
app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Giftmessage.php
Outdated
Show resolved
Hide resolved
I'll try to rebase in order to get this approved |
this time it worked correctly, so I'm ok with this PR |
removeable for the wishlist/giftmessage/sendtofriend/newsletter modules