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

Ability to resolve the Include Macro reference parameter against a base reference when no BASE metadata is present in the XDOM

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0-milestone-1
    • Fix Version/s: 14.3-rc-1
    • Component/s: Rendering
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Example usage:

      resolver.resolve("reference", EntityType.DOCUMENT, macroBlock, baseReference)
      

      If macroBlock doesn't contain any BASE MetaData, then the passed baseReference is used to resolve the "reference".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: