This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-49f11d92-d2b1-451f-837b-a8716997d97b XWIKI-23866 Open

Inconsistencies in the way XWikiDocument APIs handle class references

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-76c855c0-638f-41d1-a95d-57609e4881a8 Simon Urli created this issue on 05/Jan/26 16:15
 
Summary: Inconsistencies in the way XWikiDocument APIs handle class references
Issue Type: cid:jira-generated-image-avatar-49f11d92-d2b1-451f-837b-a8716997d97b Bug
Affects Versions: 17.10.2
Assignee: Unassigned
Components: Old Core
Created: 05/Jan/26 16:15
Priority: cid:jira-generated-image-static-major-316eeefa-920e-48ef-8446-b72629fa958b Major
Reporter: Simon Urli
Description:

XWikiDocument API are supposed to only deal with XClass references that are relative to the wiki of the current document instance. Yet XWikiDocument#newXObject API allows to create xobjects with a reference leading to another wiki and the getXObject API never resolve the given reference to the document wiki. All that creates inconsistencies when dealing with xobjects.

 
 

2 updates

 
cid:jira-generated-image-avatar-76c855c0-638f-41d1-a95d-57609e4881a8 Changes by Simon Urli on 05/Jan/26 16:15
 
Fix Version: 17.10.3
Assignee: Simon Urli