[ 
https://issues.apache.org/jira/browse/OFBIZ-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531354
 ] 

BJ Freeman commented on OFBIZ-1274:
-----------------------------------

I belive the problem is NotificationServices.java
           setBaseUrl(delegator, webSiteId, templateData);
                                   
            // initialize the template reader and processor
            URL templateUrl = UtilURL.fromResource(templateName);
            
            if (templateUrl == null) {
                Debug.logError("Problem getting the template URL: " + 
templateName + " not found", module);
                return ServiceUtil.returnError("Problem finding template; see 
logs");
            }

the UtilURL.fromResource(templateName) does not read a widget. unless i am 
missng something.
will have to read up on how to extract a URL from a widget.
                                    

quick fix is to set the 
bodyScreenLocation="/component://securityext/widget/EmailSecurityScreens.xml#PasswordEmail"
to
bodyScreenLocation="/component://securityext/email/default/passwordemail.ftl"
 

> does not send email password when new customer is created.
> ----------------------------------------------------------
>
>                 Key: OFBIZ-1274
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1274
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: SVN trunk, Release Branch 4.0
>         Environment: when a new customer logins before a order is created, 
> and thier login is created
>            Reporter: BJ Freeman
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk, Release Branch 4.0
>
>
> could not find a customer registration email in any of the data.xml
> with a PRDS_CUST_REGISTER type.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to