Hello People, I have codified a listener that are listening actions of creation and edition of the page, in "on event" method I send an email to specifics users. When I create a page the listener works well and the email is sent, however when I update the page, the xwiki returns me the following error:
2014-03-12 14:43:20,841 [http://wiki.scl.corp/bin/view/Blog/Publisher?entryName=Blog+de+Processos.Sucesso13&xredirect=%2Fbin%2Fview%2FBlog%2Bde%2BProcessos%2FSucesso13&form_token=yCvBxjkZrUDyTjtRbdrk3g] ERROR c.x.x.p.m.MailSenderPlugin - No mail object found in the document MailTemplate : Aviso de Publicacao Post The funny is that the same Mailtemplate and code is used for both kind of events. I am using the a listener based on this one: http://platform.xwiki.org/xwiki/bin/download/DevGuide/GroovyNotificationTutorial/groovynotifier.txt Any idea? Danilo Grupo Energisa Danilo A. Oliveira Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI e-mail: [email protected] | tel: (32) 3429-6342 | cel: (32) 8452-9478 Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador. Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
