Hi Bryn, On 27 Jan 2015 at 19:34:14, Bryn Jeffries (bryn.jeffries@sydney.edu.au(mailto:bryn.jeffries@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 way is the one I’ve now documented at http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module#HAcces...
Thanks very much. Using services.component.getComponentManager(null) worked fine. FWIW I see that the the related problem I observed on your website http://platform.xwiki.org/xwiki/bin/view/SRD/ was down to Utils.getComponentManager() being called from AppWithinMinutes.DynamicMessageTool, which has since been updated in XWiki 6.3. It might be worth backporting a fix so that we can access the mentioned page.
Fixed, thanks -Vincent
Again, many thanks for the prompt help and responses.
Bryn