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

Provide the source in the error message when executing a script without scripting rights

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 11.8-rc-1
    • 11.7
    • Rendering
    • Unknown
    • N/A
    • N/A

    Description

      Right now we display:

      Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it’s rendered from another script.]. Click on this message for details.
      

      The improvement is to display (for ex):

      Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:Main.Test.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: