-
-
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
Clean Adminhtml: Mage_Api
blocks
#4262
base: main
Are you sure you want to change the base?
Conversation
# Conflicts: # .phpstan.dist.baseline.neon
How about moving the admihtml controllers to |
Controllers, models later ... ? controllers are not autoloaded, could be a problem when overriden in 3rd-party-code? |
I think dismantling Mage_Adminhtml is breaking BC no matter what. For example, it will break override in |
It should not break anything. The classes in "Mage/Adminhtml" are still there to override. Do i miss something? |
# Conflicts: # .phpstan.dist.baseline.neon # app/code/core/Mage/Adminhtml/Block/Api/Role/Grid/User.php # app/code/core/Mage/Adminhtml/Block/Api/Tab/Rolesedit.php # app/code/core/Mage/Adminhtml/Block/Api/Tab/Userroles.php # app/code/core/Mage/Adminhtml/Block/Api/User/Grid.php
I agree that it should have been organized this way all along, but man that is going to be a ton of work with lots of risk of regressions and no difference to the end user.. IF you're going to do it is there some automated way to do it? Also I'd suggest adding code to detect missed updates. E.g. in |
Its "only" 15 modules, that have blocks in adminhtml. Check for aliases is planned. |
Description (*)
I'd like to get rid off Adminhtml. It is just a collection of classes that belong to a specific module. (in most cases)
My idea is to move all code to correct place and keep empty/deprecated adminhtml-classes for BC (like mysql4-classes).
To #2533 (comment)
All classes are still there and marked as deprecated. As soon i have finished it, there will be a module that holds all the deprecated classes.
No need for changes in 3rd-party-code!
Related Pull Requests