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

Code Macro language option only works with the language set to "none"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • 2.1
    • None
    • Oracle / Linux , Oracle Application Server 10g
    • Blog Macro language option
    • Easy

    Description

      When we use a code macro with a language other than none, the macro does not work.
      So only when using exactly this syntax, the macro works:

      {{code language="none"}}
      asdfasdf
      {{/code}}
      

      If none is replaced by java, sql or omitted, there is an error:
      Failed to execute macro: code

      We are running Xwiki Enterprise 2.1.25683 now, but I think we had this from 1.9.3.

      This happens within a Blog post and also within a Content page.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            vgerris Vincent Gerris
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: