XWiki Platform
  1. XWiki Platform
  2. XWIKI-10242

Generated URLs always contain WebHome in the path

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.4
    • Fix Version/s: 6.0-rc-1, 5.4.5
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Trivial
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Activity

      Hide
      Sergiu Dumitriu added a comment -

      There's also the other more important consequence, a document named Main will have the wrong URL: $xwiki.getURL('Space.Main') generates /xwiki/bin/view/Space/ which leads to Space.WebHome instead.

      Show
      Sergiu Dumitriu added a comment - There's also the other more important consequence, a document named Main will have the wrong URL: $xwiki.getURL('Space.Main') generates /xwiki/bin/view/Space/ which leads to Space.WebHome instead.
      Hide
      Marius Dumitru Florea added a comment -

      Anton Kats Thanks for reporting this issue and for providing a pull request.

      Show
      Marius Dumitru Florea added a comment - Anton Kats Thanks for reporting this issue and for providing a pull request.

        People

        • Assignee:
          Anton Kats
          Reporter:
          Anton Kats
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:
            Date of First Response: