Hi, I've checked the error and I know the problem. It's because the query has an empty set which is not valid HQL: " doc.space not in ()" There's a bug in RecentChanges here: #set($discard = $criteria.put("doc.space not in (${blacklistedSpacesParameters})", $blacklistedSpaces)) There should be a check around it like: #if ("$!blacklistedSpacesParameters" != "") #set($discard = $criteria.put("doc.space not in (${blacklistedSpacesParameters})", $blacklistedSpaces)) #end However there is nothing to correct on our side since the RecentChanges page has been removed a long time ago and replace by the ActivityStream macro (http://extensions.xwiki.org/xwiki/bin/view/Extension/Activity+Macro) which you see used in the dashboard now. So, as a conclusion you can either: * Fix the page with the fix I mentioned above * Remove this page from your wiki Hope it helps, -Vincent On Sep 11, 2012, at 2:52 PM, xkiwi <[email protected]> wrote:
Hi everyone,
some of my users get a "Failed to execute the [velocity] macro" error after http://xwiki.475771.n2.nabble.com/file/n7581261/fullstack.xwiki.log fullstack.xwiki.log update to version 4.2-MILESTONE-2. Others don't
I really don't know how to resolve this. I thought about a "privileges" probleme since only some users get this error at loging but how can I resolve it
http://playground.xwiki.org/xwiki/bin/view/Main/RecentChanges There is a similar error here
The full error stack is here http://xwiki.475771.n2.nabble.com/file/n7581261/fullstack.xwiki.log fullstack.xwiki.log
thanks for your help Regards