XWiki Platform
  1. XWiki Platform
  2. XWIKI-7382

Include macro with context=current should resolve reference based on current document instead of source document

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.4-milestone-1, 3.3.1, 3.2.1
    • Component/s: Rendering
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:
      XWIKI-8824Recursing check in include macro is broken for context=current
      XWIKI-5148viewrev should be associated to the document reference instead of the context
      XWIKI-5807Add support for relative links/images in included documents
      XWIKI-8832Include macro does not resolve its reference properly cross wiki (when page is displayed with display macro)
      XWIKI-8685Chart macro should use current document as reference when resolving "document" parameter.
      XWIKI-4929XWikiDocument#getParent and setParent does not serialize/resolve the reference based on the document but on the current context
      XWIKI-7301References are resolved relative to the applied sheet
      XWIKI-5020syntax2.0 include macro has trouble when context=new and included document is syntax1.0 with velocity code.
      XWIKI-8308Context Macro may resolve incorrectly a relative document reference passed to it as parameter
      XWIKI-9190Document reference is not properly resolved in the new security system bridge (XWikiCachingRightService)

      Description

      We changed this behavior during 3.0 but we now think it's better to resolve on the current document by default.

      See http://markmail.org/message/dl3jz5g7iulumw43

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: