-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X
-
Fix Version/s: 7.0.0 DXP FP57, 7.0.0 DXP SP9, 7.0.X
-
Component/s: ~ [Archived] Frontend Infrastructure
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Reproduction steps:
1.) Add to the property 'editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor' to the portal-ext.properties (use two lanuages for example English and Dutch).
2.) Start the portal and navigate to Control Panel --> Content --> Message Boards, here select the three dots and Configuration. Change to Message Added Email and type in some content to the default language, change the language to Dutch, add some content and select the default language tab again.
Result: The content is no longer available.
JavaScript error in the browsers Console:
"TypeError: Liferay.component(...).blur is not a function at _input_test_portlet_InputTestPortlet_INSTANCE_EOm5hBRE86hU_ffal_column1_0_OnBlurEditor (welkom-bij-hey-hema:19) at d.onBlurCallback (welkom-bij-hey-hema:61) at d.g (ckeditor.js?browserId=other&minifierType=js&languageId=en_GB&b=7010&t=1521010342941:6) at d.<anonymous> (ckeditor.js?browserId=other&minifierType=js&languageId=en_GB&b=7010&t=1521010342941:7) at d.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire (ckeditor.js?browserId=other&minifierType=js&languageId=en_GB&b=7010&t=1521010342941:9) at CKEDITOR.focusManager.m (ckeditor.js?browserId=other&minifierType=js&languageId=en_GB&b=7010&t=1521010342941:212) at CKEDITOR.focusManager.<anonymous> (ckeditor.js?browserId=other&minifierType=js&languageId=en_GB&b=7010&t=1521010342941:213) at ckeditor.js?browserId=other&minifierType=js&languageId=en_GB&b=7010&t=1521010342941:22"
Reverting ------LPS-77158
Also tested:
7.0x @ commit (ae7c50606857c4cbd374ec32cd10a3df71b97f82) reproduced
master @ commit (0317372fd618e12d068edffa62ce9010a7ca9fca) works
Update:
After the complete backport of LPS-77158 (together with LPS-79464), the JavaScript error is no longer present. The problem that "The content is no longer available" is still reproducible, though.
- is caused by
-
LPS-77158 Quickly switching language in web content breaks the content of editor
- Closed