[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 t

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 : > Hi, > > > On 19 Aug 2016, at 0

[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] Shutdown hook

2016-08-24 Thread Edward Knyshov
Thank you for rapid reply! Trying to implement it using addShutdownHook to keep it as simple as possible. Edward. On Wed, Aug 24, 2016 at 3:20 PM Thomas Mortagne wrote: > On Wed, Aug 24, 2016 at 9:33 AM, Vincent Massol > wrote: > > Hi, > > > >> On 24 Aug 2016, at 0

[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: https://gist.github.com/edvorg/95

Re: [xwiki-users] exception during page deletion

2016-09-01 Thread Edward Knyshov
st/?media=json . It looks like > the version of Jackson that Wildfly has loaded doesn't match what the > Restlet expects. Maybe Wildfly doesn't isolated correctly the application > context (check if Wildfly provides its own version of Jackson). > > Hope this helps, > Mar

[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. __