Hi Bryn,
On 27 Jan 2015 at 19:34:14, Bryn Jeffries
(bryn.jeffr...@sydney.edu.au(mailto:bryn.jeffr...@sydney.edu.au)) wrote:
Vincent said:
Using Utils.getRootComponentManager() worked for me, so many thanks.
Even using a deprecated method lets me progress with the task.
The recommended
Vincent said:
Using Utils.getRootComponentManager() worked for me, so many thanks.
Even using a deprecated method lets me progress with the task.
The recommended way is the one I’ve now documented at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module#HAccessfromScripts
On 27 Jan 2015 at 12:02:01, Thomas Mortagne
(thomas.morta...@xwiki.com(mailto:thomas.morta...@xwiki.com)) wrote:
On Tue, Jan 27, 2015 at 11:55 AM, vinc...@massol.net wrote:
Hi Bryn,
Apparently we broke backward compat and this is bad… We used to return the
root Component Manager
Thanks Vincent,
Using Utils.getRootComponentManager() worked for me, so many thanks. Even using
a deprecated method lets me progress with the task.
Bryn
From: Vincent Massol [vmas...@gmail.com] on behalf of vinc...@massol.net
[vinc...@massol.net]
Sent: 27
I tried to follow the example code given in:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Create+a+component+using+Groovy
Saving and Viewing a page with the code without changes, I got a Groovy macro
error with the following exception in the stack trace:
java.lang.RuntimeException: The
Hi Bryn,
Apparently we broke backward compat and this is bad… We used to return the root
Component Manager when calling Utils.getComponentManager()
But it’s been modified and deprecated in XWiki 6.1M1
(http://jira.xwiki.org/browse/XWIKI-10352) to return the Context Component
Manager.
Now,
On 27 Jan 2015 at 12:14:28, Bryn Jeffries
(bryn.jeffr...@sydney.edu.au(mailto:bryn.jeffr...@sydney.edu.au)) wrote:
Thanks Vincent,
Using Utils.getRootComponentManager() worked for me, so many thanks. Even
using a deprecated method lets me progress with the task.
The recommended way
On Tue, Jan 27, 2015 at 11:55 AM, vinc...@massol.net vinc...@massol.net wrote:
Hi Bryn,
Apparently we broke backward compat and this is bad… We used to return the
root Component Manager when calling Utils.getComponentManager()
But it’s been modified and deprecated in XWiki 6.1M1