[BUGFIX] Replace the table definition manipulation by signals
During installation of extensions the Extension Manager does not take the Category API into account. The code to do so is present in the Install Tool in the Database Compare Tool. It is cumbersome to switch to the install tool to update the database in order to use the category fields. The install tool and extension manager currently need to know which components manipulate the table definitions and this is bad coupling of components which shouldn't know each other. This fix replaces the individual calls to the components by two signals and thus a generic approach. Fixes: #53016 Releases: 6.2 Change-Id: Ibaea293b96fb1b8df1eacdcdd2f98acf74fb155b Reviewed-on: https://review.typo3.org/24942 Reviewed-by: Stefan Neufeind Tested-by: Stefan Neufeind Reviewed-by: Fabien Udriot Tested-by: Fabien Udriot Reviewed-by: Thomas Maroschik Tested-by: Thomas Maroschik
Showing
- typo3/sysext/core/Classes/Cache/Cache.php 14 additions, 0 deletionstypo3/sysext/core/Classes/Cache/Cache.php
- typo3/sysext/core/Classes/Category/CategoryRegistry.php 27 additions, 2 deletionstypo3/sysext/core/Classes/Category/CategoryRegistry.php
- typo3/sysext/core/Tests/Unit/Category/CategoryRegistryTest.php 0 additions, 7 deletions.../sysext/core/Tests/Unit/Category/CategoryRegistryTest.php
- typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php 32 additions, 12 deletions...ysext/extensionmanager/Classes/Utility/InstallUtility.php
- typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php 4 additions, 13 deletions...xtensionmanager/Tests/Unit/Utility/InstallUtilityTest.php
- typo3/sysext/extensionmanager/ext_localconf.php 12 additions, 0 deletionstypo3/sysext/extensionmanager/ext_localconf.php
- typo3/sysext/install/Classes/Controller/Action/Tool/UpdateWizard.php 3 additions, 3 deletions...t/install/Classes/Controller/Action/Tool/UpdateWizard.php
- typo3/sysext/install/Classes/Service/CachingFrameworkDatabaseSchemaService.php 84 additions, 0 deletions...Classes/Service/CachingFrameworkDatabaseSchemaService.php
- typo3/sysext/install/Classes/Service/Exception/UnexpectedSignalReturnValueTypeException.php 32 additions, 0 deletions...ce/Exception/UnexpectedSignalReturnValueTypeException.php
- typo3/sysext/install/Classes/Service/SqlExpectedSchemaService.php 24 additions, 37 deletions...sext/install/Classes/Service/SqlExpectedSchemaService.php
- typo3/sysext/install/ext_localconf.php 14 additions, 0 deletionstypo3/sysext/install/ext_localconf.php
Please register or sign in to comment