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

Remove dependency on private MacroTransformation API in MacroTransformationContext

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.4 M1
    • 2.3
    • {Unused} Rendering 2.0
    • None
    • Unit
    • Unknown

    Description

      Found using http://nemo.sonarsource.org/drilldown/measures/207147?metric=package_cycles&rids[]=215557

      MacroTxContext should use Tx and not MacroTx which is an internal implementation.

      The change will break an API (Macro writers who have macros using MacroTransformationContext.getMacroTransformation() will be broken and will need to modify their code to use MacroTransformationContext.getTransformation()).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: