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

Remove dependency on private MacroTransformation API in MacroTransformationContext

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4 M1
    • Component/s: {Unused} Rendering 2.0
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved: