Skip to content

[BUGFIX] Fix TYPO3 14 deprecation#46

Merged
achimfritz merged 1 commit intomainfrom
deprecation
Mar 30, 2026
Merged

[BUGFIX] Fix TYPO3 14 deprecation#46
achimfritz merged 1 commit intomainfrom
deprecation

Conversation

@jschlier
Copy link
Copy Markdown
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
Copy Markdown
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.

@achimfritz achimfritz merged commit 4549061 into main Mar 30, 2026
0 of 9 checks passed
@achimfritz achimfritz deleted the deprecation branch March 30, 2026 10:01
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.

2 participants