[BUGFIX] Replace the table definition manipulation by signals 42/24942/8
authorThomas Maroschik <tmaroschik@dfau.de>
Mon, 21 Oct 2013 17:47:20 +0000 (19:47 +0200)
committerThomas Maroschik <tmaroschik@dfau.de>
Thu, 19 Dec 2013 06:51:30 +0000 (07:51 +0100)
commit2d6e8deae30794afb1967c38857f49b10060f38d
tree815307fc55efd9f2573d05d274ee3ef4d2d0dacb
parentc578371acfb87e8a7875a45d463e7a652958f70a
[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
typo3/sysext/core/Classes/Cache/Cache.php
typo3/sysext/core/Classes/Category/CategoryRegistry.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