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

BaseObject.getDocumentSyntaxId does not work in multiwiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.9.3, 2.0 M3
    • 1.9.2, 2.0 M2
    • {Unused} Core
    • None
    • Unknown

    Description

      BeseCollection.getDocumentSyntaxId get the syntax using BaseElement.getName to get the XWikiDocument but BaseElement.getName return the local name of the document and does not contain the wiki name.

      One good example is display of a XWiki Syntax 2.0 panels from another wiki. In that case BaseElement.getDocumentSyntaxId will return "xwiki/1.0" because it can't find the document.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: