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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.4-milestone-1
    • Component/s: Index
    • Labels:
      None
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: