Breaking: The synchronizer context namespace is fixed
Description
The data object that describes one translation synchronisation run moved out of its misspelled namespace, and its property lost the same misspelling:
| Before | Since 3.0 |
|---|---|
\FGTCLB\ |
\FGTCLB\ |
Synchronizer |
Synchronizer |
the named argument
record of the constructor and
of
Synchronizer |
record |
\FGTCLB\ takes the
context under its new name. No class alias is registered for the old one: the
property and the named argument cannot be bridged, so an alias would keep half
of the old code working and let the other half fail later.
The listener
\FGTCLB\ of
EXT: carries the same misspelling. Its constructor
argument and promoted property
$record are renamed to
$record as well. The class is final, so only code that
creates the listener itself is affected.
Impact
Code that names the old class, reads the old property or passes the old named
argument fails with an error, the named argument
record of
the listener constructor included. The translation synchronisation of the
profile editor works as before, on TYPO3 v13 and v14.
Affected Installations
Installations with their own implementation of
Record, which is marked internal and experimental,
with code that builds or reads a
Synchronizer, or with code that
creates
Sync with named arguments. Search the site
package for the misspelling:
grep -rn "yncronizer" packages/my_sitepackage/
Migration
Replace
Dto\DtoSynchronizer` in the imports,
->record with
->record, and the named
argument
record with
record, for the
context and for the listener.