Bug #62305
closedInstalling an extension that does not meet the requirements is installed an crashes the system
100%
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'.)
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.
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'.
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
Updated by Nicole Cordes over 9 years ago
- Target version set to 7.3 (Packages)
- Sprint Focus set to On Location Sprint
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
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
Updated by Nicole Cordes over 9 years ago
You can try the patch by uploading any extension with dependency to a lower typo3 version
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
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
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
Updated by Nicole Cordes over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a628cba673da009eede7962783ad9b6a8c6f61b3.
Updated by Anja Leichsenring almost 9 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed