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

Cannot access macro parameters if wiki macro document was not saved with programming rights

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.5 M1
    • 2.4 RC1
    • {Unused} Core
    • None
    • Trivial

    Description

      Since $xcontext.macro does not use a public method, but the protected Context.get, only if the macro document was saved with programming rights can the parameters be accessed. We should add a public getMacro method to c.x.x.api.Context.

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: