There are 3 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-e2cb533c-5732-4130-9fe9-465c3f892a81 XWIKI-22765 Open

The user output can fail to save if the group already exists

 
View issue   ·   Add comment
 

3 updates

 
cid:jira-generated-image-avatar-478a4c13-1e7c-434f-83cc-462c9da4fc8a Changes by Raphaël Jakse on 09/Jun/26 07:49
 
Summary: The user output can fail to save if the group already exist and have members exists
Description: The problem is that if the group already has members, you can end up with xobjects added and deleted with the same index, and Hibernate really does not like that.

This (fortunately) causes CONFLUENCE-364, which also mean that it should NOT be fixed until CONFLUENCE-364 is sorted out.
Assignee: Raphaël Jakse
 
 

1 comment

 
cid:jira-generated-image-avatar-478a4c13-1e7c-434f-83cc-462c9da4fc8a Raphaël Jakse on 09/Jun/26 07:49
 

Another source of issue is that the XWikiDocument#clone() isn't used, causing abusive modification exceptions.