[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21351#action_21351
]
Gregory Joseph commented on MAGNOLIA-2626:
------------------------------------------
You don't only need a "contextPath". You need the
{{ServerConfiguration.getDefaultBaseUrl()}}.
See {{/info/magnolia/module/publicuserregistration/strategy/email.html}}:
{noformat}<p>Please follow this link in order to validate your account: <a
href="${defaultBaseUrl}${pagePath}">${defaultBaseUrl}${pagePath}</a></p>
{noformat}
> Extend AbsoluteLinkTransformer to allow generating links with arbitrary
> context path
> ------------------------------------------------------------------------------------
>
> Key: MAGNOLIA-2626
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2626
> Project: Magnolia
> Issue Type: Improvement
> Affects Versions: 4.0 RC3
> Reporter: Jan Haderka
> Assignee: Boris Kraft
> Fix For: 4.1
>
>
> To generate mail with link back to content one need to create absolute link,
> but since I'm executing template from within mail command there is no web
> context defined so AbsoluteLinkTransformer fails. We need a way to allow
> setting of the context path for the transformer directly and use WebContext
> to retrieve it only when not set.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------