Breaking: #93080 - RelationHandler internals protected
See forge#93080
Description
Various properties and methods of class
\TYPO3\
have been set to protected:
$first
- internalTable $second
- internalTable $MM_
- internalis_ foreign $MM_
- internalopposite Field $MM_
- internalopposite Table $MM_
- internalopposite Field Conf $MM_
- internalis Multi Table Relationship $current
- internalTable $MM_
- internalmatch_ fields $MM_
- internalhas Uid Field $MM_
- internalinsert_ fields $MM_
- internaltable_ where get
- internalWorkspace Id () set
- still public but deprecated, logs deprecation on use.Update Reference Index () read
- use class state after calling start()List () sort
- use class state after calling start()List () read
- use class state after calling start()MM () read
- use class state after calling start()Foreign Field () update
- internalRef Index () is
- internalOn Symmetric Side ()
Impact
Calling above properties or methods will raise a PHP fatal error.
Affected Installations
It is quite unlikely many extensions are affected by this API change. The extension scanner finds affected extensions as weak matches.
Migration
Above properties and methods are considered internal, there shouldn't be any
need to call them. Instances with extensions using those should be refactored
to for instance call start
instead of an additional call to read
.