Hi,
Check out the release notes:
https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HScri…
Thanks
-Vincent
On 08 May 2016, at 18:45, rfr <erefer(a)gmail.com>
wrote:
The detail is a java exception:
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:269)
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)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:131)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:123)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:52)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42)
I already googled about it but as I can't access the admin pages, I
cannot set or verify the "script" rights.
On Sun, May 8, 2016 at 6:43 PM, Thomas Mortagne <thomas.mortagne(a)xwiki.com>
wrote:
> As you indicated the message say " Click on this message for details".
>
> We can't really help you without more details.
>
> On Sun, May 8, 2016 at 6:26 PM, rfr <erefer(a)gmail.com> wrote:
>> Dear List,
>>
>> After a Debian Upgrade from Wheezy to Jessie, my XWiki 7.2 was also
>> upgraded. But during the upgrade process, it seems there were some
>> conflicts I did not really bother as the system told me it could manage
>> them (Maybe I was a bit naive at this point ...).
>>
>> After the upgrade process finished, I landed on my XWiki with all the
> pages
>> filled with "Failed to execute the [velocity] macro. Click on this
> message
>> for details."
>>
>>
>> Even the Admin user cannot access admin pages due to the error. I tried
> to
>> dig in the database to find if I could resolve the problem but I did not
>> succeed.
>>
>>
>> Do you have any pointer on how to solve the issue?
>>
>> Thanks for all!
>>
>> Best Regards,
>>
>> Frédéric
>>