Bug #62305
closed
Installing an extension that does not meet the requirements is installed an crashes the system
Added by Daniel Wagner almost 10 years ago.
Updated almost 7 years ago.
Category:
Extension Manager
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'.)
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.
- 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'.
- 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
- Target version set to 7.3 (Packages)
- Sprint Focus set to On Location Sprint
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
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
You can try the patch by uploading any extension with dependency to a lower typo3 version
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
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
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Sprint Focus deleted (
On Location Sprint)
- Status changed from Resolved to Closed
Also available in: Atom
PDF