This issue has been created
There are 7 updates, 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-1c387211-dad2-4d92-a9ca-67ea4a19eb9d XWIKI-22368 Open

UIExtensionClass imported properties removed after editing and rolling back

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-13936f5d-59d0-4721-9531-3609d8f02542 Simon Urli created this issue on 30/Jul/24 10:32
 
Summary: UIExtensionClass imported properties removed after editing and rolling back
Issue Type: cid:jira-generated-image-avatar-1c387211-dad2-4d92-a9ca-67ea4a19eb9d Bug
Affects Versions: 14.9
Assignee: Unassigned
Components: UI Extension
Created: 30/Jul/24 10:32
Priority: cid:jira-generated-image-static-blocker-129b8f19-9b74-4c28-82b3-a9567e5fa762 Blocker
Reporter: Simon Urli
Description:

Reproduction steps:

  • Open CKEditor.EditSheet
  • Open the object editor and check the content of the UIExtensionClass xobject
  • Edit the page, change the title and save and view
  • Check the diff between 1.1 and 2.1
  • Rollback to 1.1
  • Check the diff between 2.1 and 3.1
  • Open the object editor and check the content of the UIExtensionClass xobject

Expected result:

  • first and last checks of the UIExtensionClass xobject shows that the xobject fields are properly filled
  • when checking the diff, only the change on the title should be displayed

Obtained result:

  • first check shows that the UIExtensionClass xobject fields are filled, but all values are missing at last check
  • when checking the first diff the properties look added to the xobject
  • when checking second diff the properties look removed

Apparently the bug doesn't reproduce when creating a page containing an UIExtensionClass, it seems only related to imported page. Also so far the bug has been reproduced on both pages with an UIExtensionClass and a PanelClass.

The regression seems to appear first in 14.9, but it seems it doesn't impact 14.4.6.

 
 

7 updates

 
cid:jira-generated-image-avatar-13936f5d-59d0-4721-9531-3609d8f02542 Changes by Simon Urli on 30/Jul/24 10:32
 
Fix Version: 14.10.22
Fix Version: 16.4.2
Fix Version: 16.7.0-rc-1
Fix Version: 16.6.1
Fix Version: 15.10.12
Assignee: Simon Urli
Labels: regression
 
 

2 comments

 
cid:jira-generated-image-avatar-23fe5b09-e73d-46f1-b9d7-f8914701b9b4 Thomas Mortagne on 30/Jul/24 10:40
 

Given the fact that it seems to only happen with pages importing during the build of the demo package, it has a very good chance of having the same root cause as XWIKI-17445 (date inconsistency between hsqldb and the XAR).

 
cid:jira-generated-image-avatar-13936f5d-59d0-4721-9531-3609d8f02542 Simon Urli on 30/Jul/24 10:41
 

Apparently it might be impacting only jetty/hsqldb distributions. Tested on playground and apparently it doesn't reproduce there.