Breaking: #100229 - Convert JSConfirmation to a BitSet

See forge#100229

Description

\TYPO3\CMS\Core\Type\Bitmask\JSConfirmation is now extending the TYPO3\CMS\Core\Type\BitSet class instead of TYPO3\CMS\Core\TypeEnumeration\Enumeration.

Impact

Since JSConfirmation is now extending the class TYPO3\CMS\Core\Type\BitSet it's no longer possible to call the following public methods:

  • matches

  • setValue

  • isValid

The only static method left is: compare

Affected installations

Custom TYPO3 extensions calling public methods:

  • matches

  • setValue

  • isValid

Custom TYPO3 extensions calling static methods in \TYPO3\CMS\Core\Type\Bitmask\JSConfirmation except for the method \TYPO3\CMS\Core\Type\Bitmask\JSConfirmation::compare.

Custom TYPO3 extensions calling \TYPO3\CMS\Core\Authentication\BackendUserAuthentication->jsConfirmation(), if first argument passed is not an int.

Migration

There is no migration for the methods:

  • matches

  • setValue

  • isValid

Remove existing calls to static methods \TYPO3\CMS\Core\Type\Bitmask\JSConfirmation::method except for the method \TYPO3\CMS\Core\Type\Bitmask\JSConfirmation::compare

Ensure an int value is passed to:

  • \TYPO3\CMS\Core\Authentication\BackendUserAuthentication->jsConfirmation()