XWiki Platform
  1. XWiki Platform
  2. XWIKI-7382

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


    • 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:
    • Tests:
    • Difficulty:
    • Similar issues:
      XWIKI-12799Include macro reference is resolved based on current document instead of source
      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-11650Context Macro doesn't properly resolve relative references
      XWIKI-8832Include macro does not resolve its reference properly cross wiki (when page is displayed with display macro)
      XWIKI-12596The search suggest should display the document path instead of the raw space reference
      XWIKI-4929XWikiDocument#getParent and setParent does not serialize/resolve the reference based on the document but on the current context
      XWIKI-8685Chart macro should use current document as reference when resolving "document" parameter.
      XWIKI-7301References are resolved relative to the applied sheet


      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


          Thomas Mortagne made changes -
          Field Original Value New Value
          Link This issue depends on XRENDERING-171 [ XRENDERING-171 ]
          Thomas Mortagne made changes -
          Assignee Thomas Mortagne [ tmortagne ]
          Thomas Mortagne made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Tests Unit [ 10002 ]
          Fix Version/s 3.2.1 [ 12556 ]
          Fix Version/s 3.4-milestone-1 [ 12760 ]
          Fix Version/s 3.3.1 [ 12841 ]
          Resolution Fixed [ 1 ]
          Marius Dumitru Florea made changes -
          Link This issue relates to XWIKI-7516 [ XWIKI-7516 ]
          Marius Dumitru Florea made changes -
          Link This issue blocks XWIKI-7301 [ XWIKI-7301 ]


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


              • Created: