Project

General

Profile

Actions

Feature #15055

closed

Let EM install necessary extensions automatically

Added by Franz Holzinger about 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
-- undefined --
Category:
Extension Manager
Target version:
-
Start date:
2005-10-14
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

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

error-typo25-1.png (37.1 KB) error-typo25-1.png Administrator Admin, 2006-04-06 09:40
error-typo25-2.png (8 KB) error-typo25-2.png Administrator Admin, 2006-04-06 09:41
Actions #1

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.

Actions #2

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.

Actions #3

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.

Actions #4

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.

Actions #5

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.

Actions #6

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.

Actions #7

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.

Actions

Also available in: Atom PDF