Project

General

Profile

Actions

Bug #62305

closed

Installing an extension that does not meet the requirements is installed an crashes the system

Added by Daniel Wagner about 10 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extension Manager
Target version:
Start date:
2014-10-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello,

the extension manager installed and activated(!) an extension B imported via file upload although the requirements were not fully met. The required extension A had already installed but not activated (the version also did also not match).

extension B contains following parts in ext_emconf.php:
'dependencies' => 'A',
'constraints' => array(
'depends' => array(
'A' => '6.2.0-6.2.999'
),
...
)

(i just saw that 'dependencies' are not used anymore by other extensions. i will try it again without 'dependencies'.)

Actions #1

Updated by Daniel Wagner about 10 years ago

without 'dependencies' it works! An error message is shown: "The package B depends on A which is not present in system.".

Extension smoothmigration didn't raise a warning about 'dependencies' and
the extension manager 4.5.36 recreates 'dependencies' from 'constraints' at "Update extension EM CONF file".

BTW: it's an upgrade from 4.5 LTS to 6.2.5 LTS.

Actions #2

Updated by Nicole Cordes over 9 years ago

  • Status changed from New to Needs Feedback

Can you please try the installation with the current EM. I was not able to reproduce any dependency overwrite due to 'dependencies'.

Actions #3

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39190

Actions #4

Updated by Nicole Cordes over 9 years ago

  • Target version set to 7.3 (Packages)
  • Sprint Focus set to On Location Sprint
Actions #5

Updated by Gerrit Code Review over 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39190

Actions #6

Updated by Gerrit Code Review over 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39190

Actions #7

Updated by Nicole Cordes over 9 years ago

You can try the patch by uploading any extension with dependency to a lower typo3 version

Actions #8

Updated by Gerrit Code Review over 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39190

Actions #9

Updated by Gerrit Code Review over 9 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39190

Actions #10

Updated by Gerrit Code Review over 9 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39208

Actions #11

Updated by Nicole Cordes over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Anja Leichsenring almost 9 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions #13

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF