Details
-
Bug
-
Resolution: Fixed
-
None
-
None
-
Critical
-
Empty show more show less
Description
Problem
The problem appears when double click on the segments editor using track changes and language tool plugin.
Stack trace:
ext-all-debug.js:194368 Uncaught TypeError: Cannot read property 'match' of null
at constructor.syncValue (ext-all-debug.js:194368)
at constructor.getValue (ext-all-debug.js:194397)
at constructor.checkChange (ext-all-debug.js:169403)
at constructor.setValue (ext-all-debug.js:169291)
at constructor.setValue (ext-all-debug.js:194327)
at constructor.setValueAndMarkup (HtmlEditor.js?_dc=3.2.7:200)
at constructor.loadRecord (RowEditorColumnParts.js?_dc=3.2.7:315)
at constructor.startEdit (RowEditor.js?_dc=3.2.7:378)
at constructor.callParent (ext-all-debug.js:12493)
at constructor.startEdit (RowEditorColumnParts.js?_dc=3.2.7:272)
Additional Info:
Bug editor body:
<body id="ext-element-46" spellcheck="false" class="show-trackchanges"><img src="data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" class="duplicatesavecheck" data-segmentid="2349" data-fieldname="targetEdit"></body>
Working editor body:
<body dir="ltr" style="direction: ltr; font-size: 12px; font-family: "Open Sans", "Helvetica Neue", helvetica, arial, verdana, sans-serif; background-image: none; background-repeat: repeat; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); background-attachment: fixed; cursor: text;" class="segment-size-4 show-trackchanges" id="ext-element-32" spellcheck="false"><img src="data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" class="duplicatesavecheck" data-segmentid="59838" data-fieldname="targetEdit"></body>
The main problem is, the editor iframe is not initialized as it should. The iframe body does not have the right css classes and properties. The bug only appears with active language resource.
Attachments
Issue Links
- duplicates
-
TRANSLATE-1219 Editor iframe body is reset and therefore not usable due missing content
- Done