[BUGFIX] Replace the table definition manipulation by signals 06/26506/5
authorThomas Maroschik <tmaroschik@dfau.de>
Mon, 21 Oct 2013 17:47:20 +0000 (19:47 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Tue, 11 Feb 2014 12:55:54 +0000 (13:55 +0100)
commit2cdbc43fe7664d0796d143d7033f0a1cb98d91fe
treedd8382abdfeaeb9f41fc304b28912bba12ee3889
parent8e2dc707f431bcb995f5fd9cb01c254287c15b30
[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: I7f99ad7cadc323d4f8b975de97e4c665a82647a5
Reviewed-on: https://review.typo3.org/26506
Reviewed-by: Fabien Udriot
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
12 files changed:
typo3/sysext/core/Classes/Cache/Cache.php
typo3/sysext/core/Classes/Category/CategoryRegistry.php
typo3/sysext/core/Tests/FunctionalTestCaseBootstrapUtility.php
typo3/sysext/core/Tests/Unit/Category/CategoryRegistryTest.php
typo3/sysext/extensionmanager/Classes/Utility/InstallUtility.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php
typo3/sysext/extensionmanager/ext_localconf.php
typo3/sysext/install/Classes/Controller/Action/Tool/UpdateWizard.php
typo3/sysext/install/Classes/Service/CachingFrameworkDatabaseSchemaService.php [new file with mode: 0644]
typo3/sysext/install/Classes/Service/Exception/UnexpectedSignalReturnValueTypeException.php [new file with mode: 0644]
typo3/sysext/install/Classes/Service/SqlExpectedSchemaService.php
typo3/sysext/install/ext_localconf.php