Event listeners should not keep a reference to the XWiki context from
when they were created. XWiki context is created per request while the
event listener is used on multiple requests. I updated the
LoggingEventListener.

Thanks,
Marius

On Thu, May 29, 2014 at 7:39 PM, [email protected] <[email protected]> wrote:
> Dear XWiki users,
>
> Since I’ve seen several questions recently on the list related to XWiki 
> events, I’ve spent several hours rewriting the XWiki Notifications Tutorial 
> here:
>
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingEventListenerTutorial
>
> You’ll learn for example:
> - Adding content to pages on save
> - Log when a document is modified
> - Send a mail whenever a comment is added
>
> Enjoy!
>
> Thanks
> -Vincent
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to