Project

General

Profile

Actions

Bug #48082

closed

Uploading local extension doesn't honor dependencies

Added by Charles Brunet over 11 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Category:
Extension Manager
Target version:
-
Start date:
2013-05-09
Due date:
% Done:

0%

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

Description

If I upload a local extension, it installs without complaining about missing dependencies.

If I uninstall and reinstall it, an exception is raised about missing dependencies.

I think EM should try to download and install dependencies of local extensions if possible. It also should catch the exception about missing dependencies and show a more meaningful message about that.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #46998: Deactivating extension which is needed throws an exceptionClosed2013-04-06

Actions
Related to TYPO3 Core - Bug #51182: Depending on the latest version throws exceptionClosed2013-08-19

Actions
Related to TYPO3 Core - Bug #49722: EM: Exception if uninstalling an extension if other installed extensions depend on itClosed2013-07-06

Actions
Actions #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback

Which exception is thrown?

Maybe related to #46998 ?

Actions #2

Updated by Charles Brunet over 11 years ago

The exception is:

Uncaught TYPO3 Exception
Could not resolve dependency for "tt_address" 

TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException thrown in file
.../typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php in line 301.

14 TYPO3\CMS\Extensionmanager\Utility\DependencyUtility::getExtensionFromTer("tt_address", TYPO3\CMS\Extensionmanager\Domain\Model\Dependency)

.../typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php:
00270:     }
00271:    } else {
00272:     $this->getExtensionFromTer($extensionKey, $dependency);
00273:    }
00274:   }
Actions #3

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to Accepted
  • Assignee set to Alexander Opitz
Actions #4

Updated by Alexander Opitz about 11 years ago

  • Is Regression set to No

Hi Charles,

as issue #49722 is resolved, do you still have this issue with version 6.1.5 of TYPO3

Actions #5

Updated by Charles Brunet almost 11 years ago

Just tried it in TYPO3 6.1.7. I still can install a local extension without having dependencies installed. However, there is no longer exception if I uninstall it and try to reinstall, only the expected error message about missing dependencies.

Actions #6

Updated by Mathias Schreiber almost 10 years ago

  • Status changed from Accepted to Closed

Taken into account in #63909.
The issues are not linked on purpose, so the refactoring ticket does not get bloated with relations.

Actions

Also available in: Atom PDF