Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.1
-
None
-
Unknown
-
N/A
-
N/A
-
Description
Calling the following doesn't do anything:
{{velocity}} #set ($mailTemplateReference = $services.model.createDocumentReference('', 'XWiki', 'ResetPasswordMailContent')) #set ($mailParameters = {'language' : $xcontext.language}) #set ($message = $services.mailsender.createMessage('template', $mailTemplateReference, $mailParameters))
The error is that the "template" component implementation is not correct and is not registered for the DocumentReference generic.