This issue has been created
There are 6 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-78ee1dea-3b5b-4412-ac17-8c90deca0002 XWIKI-22551 Open

Information box content lost when multiple users update the macro parameters at the same time

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-db9447f5-b9e9-4b9d-ba75-3a2d6d22ac4c Marius Dumitru Florea created this issue on 08/Oct/24 10:41
 
Summary: Information box content lost when multiple users update the macro parameters at the same time
Issue Type: cid:jira-generated-image-avatar-78ee1dea-3b5b-4412-ac17-8c90deca0002 Bug
Affects Versions: 15.10.12
Assignee: Unassigned
Components: CKEditor, Realtime
Created: 08/Oct/24 10:41
Priority: cid:jira-generated-image-static-major-fb4dcc58-63ef-48ea-9448-b8a57d0ffb63 Major
Reporter: Marius Dumitru Florea
Description:

Follow these steps to reproduce:

  • Edit the same page with two users, Alice and Bob
  • Alice inserts an information box and types some content inside
  • Alice opens the Macro Edit modal for the inserted information box to update the CSS class parameter, without closing it
  • At the same time Bob also opens the Macro Edit modal for the same information box and updates the CSS class parameter
  • Bob submits the changes just before Alice

Expected: Alice's value for CSS class parameter should overwrite Bob's value, but the information box content should remain unchanged

Actual: both users get a rendering error that the information box content is missing

The reason is this: when Alice submits her changes, instead of updating the existing information box macro, it actually inserts a new macro (with no content) that overwrites the previous one which has been updated in the meantime by Bob.

 
 

6 updates

 
cid:jira-generated-image-avatar-db9447f5-b9e9-4b9d-ba75-3a2d6d22ac4c Changes by Marius Dumitru Florea on 08/Oct/24 10:42
 
Fix Version: 16.9.0-rc-1
Fix Version: 15.10.13
Fix Version: 16.4.5
Documentation in Release Notes: N/A
Documentation: N/A
Assignee: Marius Dumitru Florea