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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9 M1, 1.8.2
    • Fix Version/s: 1.8.3, 1.9 M2
    • Component/s: {Unused} Rendering 2.0
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

                Dates

                Created:
                Updated:
                Resolved: