Actions
Bug #102270
openLanguage Selector does not work in edit popup
Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2023-10-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In the TYPO3 Backend, create a TCA "group" element of type "db" with the edit popup enabled. Use the edit popup to edit a translatable record. Use the language menu in the edit popup to change from the default language into a translation language.
Expected: The edit popup loads the form of the translated record
Actual: A javascript error appears on the JS console
ContentContainer.js?bust=1695828076:22 Uncaught TypeError: Cannot read properties of undefined (reading 'contentWindow')
at a.get (ContentContainer.js?bust=1695828076:22:74)
at Object.handleFormChildNavigateAction (GlobalEventHandler.js?bust=1695828076:13:1703)
at Object.handleChangeEvent (GlobalEventHandler.js?bust=1695828076:13:777)
at HTMLDocument.<anonymous> (RegularEvent.js?bust=1695828076:13:364)
Updated by Florian E. about 2 months ago
- TYPO3 Version changed from 11 to 13
I tested Typo3 11, 12 and 13. Works in non of these.
This is related to https://git.typo3.org/typo3/typo3/-/blob/main/typo3/sysext/backend/Resources/Public/JavaScript/viewport/content-container.js
Looks like document.querySelector(".t3js-scaffold-content-navigation-iframe"); is not found in
get() {
return document.querySelector(ScaffoldIdentifierEnum.contentModuleIframe).contentWindow
}
Actions