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

Inconsistency between Java-based and Wiki-based rendering macros regarding the parameter descriptor map keys

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 9.0
    • 8.4.4
    • Rendering
    • None
    • Trivial
    • N/A
    • N/A

    Description

      Compare for instance the Box macro (Java based) with the Document Tree macro (Wiki-base):

      {cssclass=org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor@72c9f66b,
      image=org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor@5fb19728,
      title=org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor@d4d5baf,
      width=org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor@579a486d}
      
      {readOnly=org.xwiki.rendering.macro.wikibridge.WikiMacroParameterDescriptor@2c3e2fe0,
      showWikis=org.xwiki.rendering.macro.wikibridge.WikiMacroParameterDescriptor@39e50d05,
      showWikiPrettyName=org.xwiki.rendering.macro.wikibridge.WikiMacroParameterDescriptor@654000ab,
      showSpaces=org.xwiki.rendering.macro.wikibridge.WikiMacroParameterDescriptor@5d548b87,
      showDocumentTitle=org.xwiki.rendering.macro.wikibridge.WikiMacroParameterDescriptor@48eee2,
      showTranslations=org.xwiki.rendering.macro.wikibridge.WikiMacroParameterDescriptor@11d446cb,
      ...
      limit=org.xwiki.rendering.macro.wikibridge.WikiMacroParameterDescriptor@119faa80}
      

      The keys in the parameter descriptor map are lower case for Java-based macros and normal case for Wiki-based macros.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: