Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23866

Inconsistencies in the way XWikiDocument APIs handle class references

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 18.0.0-rc-1, 17.10.3
    • 17.10.2
    • Old Core
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    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.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: