Bug #98262
closedEditor 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!]
0%
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.
Updated by Susanne Moog about 2 years ago
- Status changed from New to Needs Feedback
Hey,
I just tested this with the demo project on demo.typo3.org and in general editors are able to create and translate pages. I would suspect either an extension or a misconfiguration being the culprit. Can you please try it with a plain system (without extensions) and see whether that helps?
Updated by Albert van der Veen about 2 years ago
Susanne Moog wrote in #note-1:
Hey,
I just tested this with the demo project on demo.typo3.org and in general editors are able to create and translate pages. I would suspect either an extension or a misconfiguration being the culprit. Can you please try it with a plain system (without extensions) and see whether that helps?
Thanks, must be a misconfiguration - which I haven't found yet. Strange thing is that I encountered the issue on two different sites, on two different servers. So issue can be closed.
Update, in case anyone stumbles upon this page googling the error message: it turns out editors cannot create pages outside of web roots in Typo3 11 (and perhaps 10 - noticed this after upgrading from 9 to 10 and subsequently to 11). I had a tree of maps containing address records outside the root of a website. Have now moved that inside and editors are able to add maps again. Strange behaviour in my opinion, as the editor should have access according to the access module.
Updated by Georg Ringer about 2 years ago
- Status changed from Needs Feedback to Closed
closed as requested
Updated by Stefan Bürk 7 months ago
- Related to Bug #103632: 1: recordEditAccessInternals() check failed. [ERROR: The "languageField" field named "sys_language_uid" was not found in testing record!] added