[
http://jira.nuxeo.org/browse/NXP-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume reopened NXP-1781:
------------------------------------
Assignee: Florent Guillaume (was: Narcis Paslaru )
Reopened because this method is currently broken.
defaultNotifTemplate refers to ${doc.title} which isn't recognized.
This is due to the fact that in NotificationServiceBean.sendDocumentByMail the
map is filled with "doc" instead of "document" (this is later converted again
to "doc" in the context by DocumentRenderingContext).
> sendByMail
> ----------
>
> Key: NXP-1781
> URL: http://jira.nuxeo.org/browse/NXP-1781
> Project: Nuxeo Enterprise Platform 5
> Issue Type: New Feature
> Affects Versions: 5.1.2
> Reporter: Alain Escaffre
> Assignee: Florent Guillaume
> Priority: Critical
> Fix For: 5.1.3
>
>
> There should be a method in the notification service to send an e-mail
> directly, without the use of an event. This method should have the following
> signature :
> -sendDocumentByEmail(DocumentModel doc, String freemarkerTemplateName, String
> commentaire, NuxeoPrincipal sender, StringList sendto)
> Both DocumentModel and commentaire would be accessible to the freemarker
> template, to be able to send mail like :
> M TOTO wants you to see the folowing document : linkTodocument
> "hello !
> Have a look at this please !"
> PS : The StringList should contain the emails of people to send to. If you
> think it is better an ArrayList or I don't know what, feel free ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets