Core relates to SqlExpectedSchemaService which has been dropped
I just found following lines in Core:
$signalSlotDispatcher->connect( 'TYPO3\\CMS\\Install\\Service\\SqlExpectedSchemaService', 'tablesDefinitionIsBeingBuilt', \TYPO3\CMS\Core\Category\CategoryRegistry::class, 'addCategoryDatabaseSchemaToTablesDefinition' );
But as of breaking change 82148:
you have removed SqlExpectedSchemaService. So, the lines from above can't work, right?
Updated by Sybille Peters over 2 years ago
The above code still works (signal gets emitted and caught), but it is weird.
Additionally, the Changelog contradicts itself:
- Changelog 9.4. says: use signal tablesDefinitionIsBeingBuilt of class \TYPO3\CMS\Install\Service\ SqlExpectedSchemaService (https://docs.typo3.org/typo3cms/extensions/core/latest/Changelog/9.4/Deprecation-85462-SignalTablesDefinitionIsBeingBuilt.html)
- Changelog 9.0 dropped this class: TYPO3\CMS\Install\Service\ SqlExpectedSchemaService (https://docs.typo3.org/typo3cms/extensions/core/Changelog/9.0/Breaking-82148-DownloadSQLDumpDroppedInEM.html)
Updated by Florian Wessels almost 2 years ago
functionality is still there as
TYPO3\CMS\Core\Database\Schema\SqlReader::emitTablesDefinitionIsBeingBuiltSignalis still using the signal class name
This is very confusing.
Maybe the signal slot should better use its real SqlReader class name ;-)
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59874