Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-24254

User Macros cannot make use of the default parameter

    XMLWordPrintable

Details

    Description

      When creating a user macro, there is no support for specifying use of the default parameter – <ac:default-parameter> in storage format.

      When defining the macro parameters, parsing of parameters requires that the macro parameter have a name, otherwise the parameter is ignored (with the log warning of "Skipping undefined parameter for macro <macroName>"). However, the default parameter has no name.

      This is of particular concern to users upgrading from 3.5 to 4.x, where their user macros will be migrated to use <ac:default-parameter>, yet it cannot be referenced as a legitimate user macro parameter by the macro browser.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cdarroch Daz
            Votes:
            12 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: