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

getLinkedPages in rendering 2.0 treats internal anchor links as links to the WebHome of the space

    XMLWordPrintable

Details

    • Unit
    • Unknown

    Description

      Put the following content in a syntax 2.0 page:

      [[Label>>#toto]]
      
      ==== {{id name="toto"/}} Test ====
      
      
      {{velocity}}
      $doc.getLinkedPages()
      {{/velocity}}
      

      The getLinkedPages function will return Test.WebHome which is incorrect

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: