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

Resource reference resolved fallback on target's sibling when it should not

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.4.1
    • Fix Version/s: 8.0-milestone-2, 7.4.2
    • Component/s: Rendering
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      When in page "Space.Page1.WebHome" we want [[Page2]] to lead to "Space.Page2.WebHome" by default, that's XWIKI-13060.

      The issue with the current implementation is that [[Space2.Page2]] might lead to "Page2.WebHome" if "Space2.Page2" or "Space2.Page2.WebHome" don't exist. That's because it tries to "fallback on sibling space" even when the source reference is no relative.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                tmortagne Thomas Mortagne
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: