Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-227

Invalid message about invalid macro parameter when the Macro Transformation fails to get the Macro Descriptor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2-milestone-2
    • Fix Version/s: 4.2-milestone-3
    • Component/s: Macro
    • Labels:
      None
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      For example if I have a dynamic proxy on Macro that throws UndeclaredThrowableException when getDescriptor() is called the macro generates:

      Invalid macro parameters used for the "test" macro
      

      Instead of simply saying that the macro failed to execute

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: