On 09/14/2012 03:34 PM, Paul Libbrecht wrote:
The console does say:
2012-09-14 20:23:28,278
[archiver-351868487901461] WARN c.x.x.a.XWiki - Failed to access document name = [Orders],
type = [DOCUMENT], parent = [name = [GCheckout], type = [SPACE], parent = [name = [xwiki],
type = [WIKI], parent = [null]]]: null
Is that a rights problem?
How do you give the rights to an AbstractWikiRunnable?
thanks in advance
There's no context user, and using the .api. package always checks
rights. So, you have two options:
- set a user in the XWikiContext
- use the internal objects instead of the API, which bypasses rights
--
Sergiu Dumitriu
http://purl.org/net/sergiu/