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

When specifying wrong type in WikiMacroParameter the WikiMacro is silently not registered

    XMLWordPrintable

    Details

    • Difficulty:
      Trivial
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      • Create a page with:
      • a wikimacro named "helloworld" containing only "Hello world"
      • a wikimacro parameter with a wrong type such as java.ang.String
      • Edit the page to include:
        {{helloworld/}}
        

      Expected result:

      • A log should be available in the console to specify that the parameter type was wrong

      Obtained result:

      • the macro is not registered and no error log is output

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              surli Simon Urli
              Reporter:
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: