Project

General

Profile

Actions

Bug #98262

closed

Editor unable to create new page in Typo3 11 - 1: recordEditAccessInternals() check failed. [ERROR: The "languageField" field named "sys_language_uid" was not found in testing record!]

Added by Albert van der Veen about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2022-09-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When trying to create a page in the BE as an editor, you'll get the error '1: recordEditAccessInternals() check failed. [ERROR: The "languageField" field named "sys_language_uid" was not found in testing record!]'.

Looking into the code of sysext/core/Classes/DataHandling/DataHandler.php, there's a call to function recordEditAccessInternals in sysext/core/Classes/Authentication/BackendUserAuthentication.php
This function has a check on the availability of the languageField in the incomingFields array. However, this field is not present and therefore the before mentioned error is thrown.

As an admin you can create pages, as this same function returns true for admin users, regardless of the availability of the languageField.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #103632: 1: recordEditAccessInternals() check failed. [ERROR: The "languageField" field named "sys_language_uid" was not found in testing record!]Needs Feedback2024-04-15

Actions
Actions

Also available in: Atom PDF