You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "rees Watkins (JIRA)" <ji...@apache.org> on 2009/06/19 09:17:07 UTC
[jira] Created: (OFBIZ-2631) customer registration email problem
when using component:// syntax
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
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.
[jira] Closed: (OFBIZ-2631) customer registration email problem
when using component:// syntax
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-2631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-2631.
----------------------------------
Resolution: Fixed
Fix Version/s: SVN trunk
Release Branch 9.04
Assignee: Jacques Le Roux
Thanks Aswath,
Your patch is in trunk at r829376, R9.04 at r829378
> 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
> Assignee: Jacques Le Roux
> Fix For: Release Branch 9.04, SVN trunk
>
> 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.
[jira] Updated: (OFBIZ-2631) customer registration email problem
when using component:// syntax
Posted by "Aswath Satrasala (JIRA)" <ji...@apache.org>.
[ 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.