Skip to content

[BUGFIX] Fix TYPO3 14 deprecation#46

Open
jschlier wants to merge 1 commit intomainfrom
deprecation
Open

[BUGFIX] Fix TYPO3 14 deprecation#46
jschlier wants to merge 1 commit intomainfrom
deprecation

Conversation

@jschlier
Copy link
Contributor

@jschlier jschlier commented Feb 27, 2026

recordEditAccessInternals is deprecation and replaced with the method checkRecordEditAccess. This call is already in an if branch that only is called with TYPO3 14 and onwards, therefore we can already use the new method without breaking compatibility with older TYPO3 versions.

See: https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/14.2/Deprecation-108568-BackendUserAuthenticationRecordEditAccessInternals.html#deprecation-108568-backenduserauthentication-recordeditaccessinternals-and-errormsg

`recordEditAccessInternals` is deprecation and replaced with the method `checkRecordEditAccess`.
This call is already in an if branch that only is called with TYPO3 14 and onwards, therefore we can already use the new method without breaking compatibility with older TYPO3 versions.
@jschlier jschlier requested a review from achimfritz February 27, 2026 14:45
@jschlier
Copy link
Contributor Author

This change is only on TYPO3 main at the moment, that's why PHPStan fails with TYPO3 14.
It will be correct once TYPO3 14.2 is released.

We can leave this pull request open until then and then try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant