[xwiki-users] injecting logger causes cryptic errors

2016-09-03 Thread Edward Knyshov
I'm trying to inject xwiki logger using @Inject Logger logger; But when I start xwiki I get totally broken app and following errors in my logs: https://gist.github.com/edvorg/f6d5205b51ae32b71faf527d9a80302c Has anybody met this before? Thanks, Edward.

Re: [xwiki-users] exception during page deletion

2016-09-01 Thread Edward Knyshov
his helps, > Marius > > On Fri, Aug 26, 2016 at 1:34 PM, Edward Knyshov <edv...@gmail.com> wrote: > > > When users deletes a page I get and page saying that I should wait until > > page is deleted. I check browser console and I see 500 response from > xwiki > &

[xwiki-users] exception during page deletion

2016-08-26 Thread Edward Knyshov
When users deletes a page I get and page saying that I should wait until page is deleted. I check browser console and I see 500 response from xwiki and nothing happens. If I go to some parent page, I see that page is deleted. Checked xwiki log and see an exception:

Re: [xwiki-users] Shutdown hook

2016-08-24 Thread Edward Knyshov
> wrote: > > Hi, > > > >> On 24 Aug 2016, at 09:11, Edward Knyshov <edv...@gmail.com> wrote: > >> > >> Hello. > >> How can I execute some java code when xwiki is about to shut down? > > > > Option 1: > > > > XWiki is a java ap

[xwiki-users] Shutdown hook

2016-08-24 Thread Edward Knyshov
Hello. How can I execute some java code when xwiki is about to shut down? Thanks, Edward. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] A problem with xwiki macros

2016-08-22 Thread Edward Knyshov
Hi, Vincent. It's a requirement, that xwiki is fully configured after it's bootstrapped. So our clients get working system right after deploy. That's why why setup permissions in code. Edward. 2016年8月22日(月) 14:51 Vincent Massol <vinc...@massol.net>: > Hi, > > > On 19 Aug 2016

[xwiki-users] A problem with xwiki macros

2016-08-18 Thread Edward Knyshov
Hi. I'm trying to customize permissions in xwiki using ApplicationReadyEventListener. I override some permission in XWikiPreferences XWikiGlobalRights page to get page deletion work by default for all users. https://gist.github.com/edvorg/4e2771ac02c4c64b705127964bc53c64 I set up permissions in