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

Source reference should be set in XDOM before transformations execute

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3-milestone-1
    • Component/s: Display, Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Transformations may need to use the source reference.

      Actually I think we could go one step further in the future and do this:

      • Introduce a Rendering Context
      • Set the source reference in the Rendering Context
      • Pass the Rendering Context to Parser.parse()
      • Modify the Parsers so that they take the source reference from the Rendering Context and set it in the returned XDOM

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: