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

The document path in the Document Index Tree is still not correctly computed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.4-milestone-1
    • 6.3
    • Index
    • None
    • Easy
    • N/A
    • N/A

    Description

      Go to the Document Index and select the tree view. Open the browser console and run this:

      jQuery.jstree.reference(jQuery('.xtree')).openTo('document:xwiki:Sandbox.TestPage1')
      

      Look at the request that retrieves the document path. Check the response. The path is wrong:

      ['space:xwiki:Main', 'document:xwiki:Main.WebHome',
      'document:xwiki:Sandbox.WebHome', 'document:xwiki:Sandbox.TestPage1']
      

      The expected path is:

      ['space:xwiki:Sandbox', 'document:xwiki:Sandbox.WebHome', 'document:xwiki:Sandbox.TestPage1']
      

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: