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

getLinkedPages and other links function are not handling relative links properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1, 1.9 M1
    • Component/s: {Unused} Core
    • Labels:
      None
    • Tests:
      Unit
    • Similar issues:

      Description

      In page

      Test1.Test1

      put

      [[Test2]]

      In page Test2.WebHome put

      velocity
      $xwiki.getDocument("Test1.WebHome").getLinkedPages()
      /velocity

      It will return Test2.Test2 instead of Test1.Test2

      See http://incubator.myxwiki.org/xwiki/bin/view/Test2/

        Attachments

          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: