There are 7 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-a77b7597-3996-45fe-a2ce-637ad4dbfb7f XWIKI-24287 Closed

RealtimeWYSIWYGEditorIT#syntaxChange is flickering

 
View issue   ยท   Add comment
 

7 updates

 
cid:jira-generated-image-avatar-24416e80-bb33-4112-9675-2090002d20b1 Changes by Vincent Massol on 03/Sep/26 22:35
 
Fix Version: 18.8.0-rc-1
Fix Version: 18.4.5
Documentation in Release Notes: N/A
Documentation: N/A
Assignee: Vincent Massol
Resolution: Solved By
Status: Open Closed
 
 

1 comment

 
cid:jira-generated-image-avatar-24416e80-bb33-4112-9675-2090002d20b1 Vincent Massol on 03/Sep/26 22:35
 

The flickering is a symptom of a product bug in the realtime CKEditor plugin, not a test timing problem: the WYSIWYG editor sometimes silently skips joining the realtime collaboration session, because the editor.mode !== 'wysiwyg' guard added by XWIKI-23985 also matches "the editing mode is not set yet". The syntax change makes it likely because the editor is destroyed and recreated while the RequireJS modules and the Netflux WebSocket are already warm, so the realtime bootstrap wins the race.

Filed as XWIKI-24800, fixed by https://github.com/xwiki/xwiki-platform/pull/6301. With that fix the whole realtime Docker IT suite passes: RealtimeWYSIWYGEditorIT 28/28 and RealtimeWikiEditorIT 2/2 (Tomcat 11, PostgreSQL, Firefox).

Closing as Solved By XWIKI-24800. The CI failure artifacts of master build 1361 (screenshot and VNC recording) stay attached here.