Actions
Bug #100896
openConsole error triggered after click on edit button for a translated page
Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2023-05-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Stabilization Sprint
Description
Upon clicking the edit button on a translated page, the UI overlay remains while the web console generates an error.
Error message:
VM5260 form-engine.js:13 Uncaught (in promise) TypeError: Cannot set properties of null (setting 'disabled') at VM5260 form-engine.js:13:12668 at NodeList.forEach (<anonymous>) at Object.initializeLocalizationStateSelector (VM5260 form-engine.js:13:12438) at Object.reinitialize (VM5260 form-engine.js:13:12217) at VM5260 form-engine.js:13:21565
Possible solution:
On the line in file: https://github.com/TYPO3/typo3/blob/v12.4.1/Build/Sources/TypeScript/backend/form-engine.ts#L743
Wouldn't it be more appropriate for the condition to be the following, rather than undefined?
if (input === null) {System:
- Typo3 v12.4.1
- PHP 8.1
Files
Actions