Breaking: #97926 - Extbase QuerySettings methods removed
See forge#97926
Description
Extbase's Persistence functionality is basing ORM queries on certain settings
usually fetched from
Query
, with a default
implementation
Typo3Query
.
The interface itself has changed so that it now requires two new methods:
Query
Query
The LanguageAspect covers both the overlay functionality and setting the language ID.
For this reason, the following methods are removed from
Query
:
Query
Settings Interface:: get Language Overlay Mode () Query
Settings Interface:: set Language Overlay Mode ($language Overlay Mode) Query
Settings Interface:: get Language Uid () Query
Settings Interface:: set Language Uid ($language Uid)
All adaptions have been made to the default implementation in
Typo3Query
, however the removed methods from the interface are kept
within the implementation to avoid fatal PHP errors.
Impact
Any custom implementation of
Query
needs to implement
the newly defined methods of the interface.
Affected installations
TYPO3 installations with custom Extbase extensions dealing with QuerySettings that are adjusted with the methods used above.
Migration
Switch the affected extensions via PHP to calling the newly added methods, as this is how TYPO3 Core behaves the most reliable.