Feature #15055
closedLet EM install necessary extensions automatically
0%
Description
The extension manager does not let you install an extension if the extensions it needs are not already installed.
So I suggest to let the EM install all the necessary extensions automatically.
(issue imported from #M1607)
Files
Updated by Karsten Dambekalns over 18 years ago
This is now possible in a half-automated manner. Doing this fully automatic is hard, as we let the user approve needed changes to the DB, or may need decisions about resolving conflicts.
Updated by Franz Holzinger over 18 years ago
Thanks for this.
However when I upload an extension with EM that depends on some not installed extensions, then I click so the dependant extension gets installed. This is correct. But immediately after I get this error message:
Extension Manager
No file uploaded! Probably the file was too large for PHPs internal limit for uploadable files.
But this file is
1. not too large
2. there are other dependant extensions which must have been installed before.
Updated by Franz Holzinger over 18 years ago
Here is a feature to install a suggested extension. However this always opens only a new window.
Updated by Franz Holzinger over 18 years ago
Contraints 'suggests' must not be used any more.
E.g. tt_products wants to suggest mbi_products_categories, which itself depends on tt_products. However due to this error tt_products cannot be installed any more which means that mbi_products_categories cannot be installed.
So I have to remove all suggestions from tt_products.
Updated by Karsten Dambekalns over 18 years ago
A suggested extension may be installed, but the suggestion may be checked off and is then ignored. So nothing is enforced here and prohibits installation of an extension suggesting others. Right? Please give some feedback as to whether this bug may be resolved/closed or not.
Updated by Franz Holzinger over 18 years ago
This is much better now.
But the suggestions have a problem in this case where mbi_products_categories now depends on the installation of tt_products. It does not make sense here to offer its installation. See the attached images 1 and 2.
Updated by Karsten Dambekalns over 18 years ago
The last problem mentioned is not really solvable (at least not in a way where gain and pain are in a sensible relation...).
In this case I'd rather trust the admin to understand the situation, proceed with installing tt_products and then install the suggested extension.