Bug #64079
closedExtension manager doesn't emit "hasInstalledExtensions" signal after extension upload
0%
Description
Hi Susanne
Found a problem in the extension manager code which doesn't emit the "hasInstalledExtensions" signal if a .zip or .tx file is uploaded in the extension manager within the TYPO3 backend. If an extension is downloaded from TER, the DownloadController including the ExtensionManagementService class is used which emits the signal after installing the extension. Uploading an extension is handled by the UploadExtensionFileController class that calls the InstallUtility directly without emitting the signal.
The best option would be to use the ExtensionManagementService in the UploadExtensionFileController class as well. I've tested this with TYPO3 6.2 and 7.0 and it would be nice if this could be fixed in 6.2 LTS as well.
Thanks
Updated by Wouter Wolters almost 10 years ago
- Assignee deleted (
Susanne Moog)
Please do not assign directly to a person. Thanks!
Updated by Wouter Wolters almost 10 years ago
- Target version set to 7.3 (Packages)
Updated by Nicole Cordes over 9 years ago
- Status changed from New to Needs Feedback
This can't be solved easily and IMHO separate between local and TER version is much better, than a single one. You could additionally register your slot to the signal
TYPO3\CMS\Extensionmanager\Utility\InstallUtility::afterExtensionInstall
Updated by Aimeos no-lastname-given over 9 years ago
Hi Nicole
This can't be solved easily and IMHO separate between local and TER version is much better, than a single one. You could additionally register your slot to the signal
TYPO3\CMS\Extensionmanager\Utility\InstallUtility::afterExtensionInstall
Tried it with the code below in ext_localconf.php but it didn't executed Aimeos\Aimeos\Setup->executeOnSignal():
$signalSlotDispatcher->connect( 'TYPO3\\CMS\\Extensionmanager\\Utility\\InstallUtility', 'afterExtensionInstall', 'Aimeos\\Aimeos\\Setup', 'executeOnSignal' );
This works at least for not manually uploaded extensions:
$signalSlotDispatcher->connect( 'TYPO3\\CMS\\Extensionmanager\\Service\\ExtensionManagementService', 'hasInstalledExtensions', 'Aimeos\\Aimeos\\Setup', 'executeOnSignal' );
Updated by Benni Mack over 9 years ago
- Target version changed from 7.3 (Packages) to 7.4 (Backend)
Updated by Alexander Opitz over 9 years ago
- Status changed from Needs Feedback to New
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Riccardo De Contardi almost 9 years ago
- Target version changed from 7 LTS to Candidate for Major Version
Updated by Susanne Moog over 4 years ago
- Status changed from New to Closed
The code now uses the managementService in both cases. Additionally, since the introduction of events `AfterPackageActivationEvent` can be used for both.