[
https://issues.apache.org/jira/browse/OFBIZ-2631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aswath Satrasala updated OFBIZ-2631:
------------------------------------
Attachment: customer_registration_email.patch
Attached is the patch.
sendGenericNotificationEmail will not work, because the URI has the screen
element part also and hence UtilURL or FlexibleLocation will not be able to
resolve URI.
I searched other examples and created the patch based on PARTY_REGIS_CONFIRM
Thanks
-Aswath
> customer registration email problem when using component:// syntax
> ------------------------------------------------------------------
>
> Key: OFBIZ-2631
> URL: https://issues.apache.org/jira/browse/OFBIZ-2631
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: rees Watkins
> Attachments: customer_registration_email.patch
>
>
> Registration email template is specified like this
> component://party/widget/partymgr/EmailPartyScreens.xml#CreatePartyNotification
> does not work
> The registration email is generated by a call to
> "sendGenericNotificationEmail" in CustomerEvents.xml which eventually ends up
> in prepareNotification NotificationServices.java which attempts to resolve
> the email template using
> URL templateUrl = UtilURL.fromResource(templateName);
> All other email templates are resolved using a ComponentLocationResolver.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.