Just a line to confirm that it works fine in 2.7.1 and to submit 2 minor issues.
* 1, the javadoc of the XWiki.parseGroovyFromPage() is a little confusing. http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/com/xpn/xwiki/platform/xwiki-core/3.0-milestone-3/xwiki-core-3.0-milestone-3-javadoc.jar/!/com/xpn/xwiki/api/XWiki.html#parseGroovyFromPage%28java.lang.String,%20java.lang.String%29 * 2, it seems that the version.property of XEM 2.7.1 hasn't been totally built, it contains: "2.7.1.${buildNumber}" Thanks Maxime Sinclair 2011/3/8 Maxime Sinclair <[email protected]>: > Thank you for your answer. I will upgrade to 2.7.1. > > 2011/3/7 Thomas Mortagne <[email protected]>: >> On Mon, Mar 7, 2011 at 18:18, Maxime Sinclair <[email protected]> >> wrote: >>> Sorry for this newbie question. >>> I use a XWIKI 2.7.0 farm. >>> I try to use a wiki macro written in Groovy. I saved it with the Admin >>> account in the main wiki. The macro is defined global (in the >>> WikiMacroClass). All works fine in the main wiki. >>> But in the subwikis, even connected as the admin of the farm, I can't >>> execute the macro (even if I see it in the wysiwyg editor). >>> >>> The error message is: >>> org.xwiki.rendering.macro.MacroExecutionException: You don't have the >>> right to execute this script >>> >>> Is there something to do in the Programming panel of the >>> administration page ? Do I have to import the macro in the subwiki ? >>> I started to read that thread >>> http://markmail.org/thread/2i7nkhiugv4z3ara but it didn't help me. >> >> Actually you hit a bug (http://jira.xwiki.org/jira/browse/XWIKI-5957), >> sorry about that. >> >> It's fixed in 2.7.1 so the best would be to upgrade. >> >>> >>> Thanks for your help. >>> Maxime Sinclair >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/users >>> >> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
