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

Macro execution order should be the order in which macros are defined in the content if they have the same priority

    XMLWordPrintable

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      For example the following currently breaks since RubyMacro starts with an "R" which is greater than "G" (GroovyMacro):

      {{ruby}}
      def var1
      {{/ruby}}
      
      {{groovy}}
      use var1
      {{/groovy}}
      

        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: