Board Thread:Technical Updates/@comment-24006128-20200723182124/@comment-40225822-20200809182420

I'm getting the glitch where in the UCP editor, I try to link some text, but the moment I click the 'Done' button on the link builder, the text disappears. Further attempts to save the page are also unsuccessful.

Here's the error description that I retrieved from the console:

VM166:155 Uncaught TypeError: Cannot read property 'nodeType' of undefined at Object.ve.adjacentDomPosition ( :155:825) at VeCeDocument.ve.ce.Document.getNodeAndOffset (load.php?debug=false&lang=en&modules=ext.CodeMirror.lib|ext.visualEditor.core|oojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=oasis&version=0hxp8k5:613) at VeCeSurface.ve.ce.Surface.getSelectionState (load.php?debug=false&lang=en&modules=ext.CodeMirror.lib|ext.visualEditor.core|oojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=oasis&version=0hxp8k5:732) at VeCeSurface.ve.ce.Surface.getNativeRange (load.php?debug=false&lang=en&modules=ext.CodeMirror.lib|ext.visualEditor.core|oojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=oasis&version=0hxp8k5:733) at VeCeLinearSelection.ve.ce.LinearSelection.getSelectionBoundingRect (load.php?debug=false&lang=en&modules=ext.CodeMirror.lib|ext.visualEditor.core|oojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=oasis&version=0hxp8k5:744) at VeUiDesktopContext.ve.ui.DesktopContext.updateDimensions ( :1128:220) at later (load.php?debug=false&lang=en&modules=ext.CodeMirror.lib|ext.visualEditor.core|oojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=oasis&version=0hxp8k5:1067)

It works after a few attempts to do it by reloading though.