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

Failed to execute the [velocity] macro shown up after installed xwiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 8.4.2
    • None
    • None
    • CentOS 7.2 x64
      Java 8
    • Unknown

    Description

      I was very depressed that after I installed xwiki war (tomcat 8 with java8) all velocity-macro failed to execute. Says that:

      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.].

      org.xwiki.rendering.macro.MacroExecutionException: 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.
      at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178)
      at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
      at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:272)
      at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
      at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
      at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263)

      Attachments

        1. FailedToExecuteVolecity.2.jpg
          456 kB
          hanhui cai
        2. FailedToExecuteVolecity.jpg
          302 kB
          hanhui cai
        3. Flavor_Accessdenied1.jpg
          248 kB
          hanhui cai

        Activity

          People

            tmortagne Thomas Mortagne
            caihh hanhui cai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: