[jira] Created: (OFBIZ-1274) does not send email password when new customer is created.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
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
             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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)

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

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

here is an xml for the demo store 9000 that can imported via webtools

  <ProductStoreEmailSetting productStoreId="9000" emailType="PRDS_CUST_REGISTER" templatePath="/component://securityext/widget/EmailSecurityScreens.xml#PasswordEmail" fromAddress="[hidden email]" subject="OFBiz Demo -New Password for  (${userLoginId}) from demostore"/>

you can also entery this manually into
https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000

look at Retrieve Password for an example but use Registration.

> 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
>             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 | Threaded
Open this post in threaded view
|

[jira] Resolved: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

BJ Freeman resolved OFBIZ-1274.
-------------------------------

    Resolution: Fixed

the above comments resolve the issue

> 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
>             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 | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

BJ Freeman closed OFBIZ-1274.
-----------------------------


this can be added by user if they need it.
when they set a store to No for allow password.

> 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
>             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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-1274:
----------------------------------------

Hi BJ,

Did you test it ?

Because the exact text should be

<ProductStoreEmailSetting productStoreId="9000" emailType="PRDS_CUST_REGISTER" bodyScreenLocation="component://securityext/widget/EmailSecurityScreens.xml#PasswordEmail" fromAddress="[hidden email]" subject="OFBiz Demo - New Password for (${userLoginId}) from demostore"/>

> 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
>             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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

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

I did but not with the current SVN.
will make sure I do next time
:)


> 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
>             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 | Threaded
Open this post in threaded view
|

[jira] Issue Comment Edited: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

bjfreeman edited comment on OFBIZ-1274 at 9/29/07 8:45 PM:
------------------------------------------------------------

here is an xml for the demo store 9000 that can imported via webtools

  <ProductStoreEmailSetting productStoreId="9000" emailType="PRDS_CUST_REGISTER" bodyScreenLocation="/component://securityext/widget/EmailSecurityScreens.xml#PasswordEmail" fromAddress="[hidden email]" subject="OFBiz Demo -New Password for  (${userLoginId}) from demostore"/>

you can also entery this manually into
https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000

look at Retrieve Password for an example but use Registration.

Note: edited this to be like the current scheama
changed  templatePath  to bodyScreenLocation

      was (Author: bjfreeman):
    here is an xml for the demo store 9000 that can imported via webtools

  <ProductStoreEmailSetting productStoreId="9000" emailType="PRDS_CUST_REGISTER" templatePath="/component://securityext/widget/EmailSecurityScreens.xml#PasswordEmail" fromAddress="[hidden email]" subject="OFBiz Demo -New Password for  (${userLoginId}) from demostore"/>

you can also entery this manually into
https://localhost:8443/catalog/control/EditProductStoreEmails?productStoreId=9000

look at Retrieve Password for an example but use Registration.
 

> 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
>             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 | Threaded
Open this post in threaded view
|

[jira] Reopened: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux reopened OFBIZ-1274:
------------------------------------

      Assignee: Jacques Le Roux

I found the idea interesting. Because I believe it's easier to remember your own password (even if you forgot it one time) than having to use an auto generated password or change it anew.

So I tested it but it does not work, I get :

2007-09-30 12:26:53,250 (default-invoker-Thread-7) [NotificationServices.java:204:ERROR] Problem getting the template URL: component://securityext/widget/EmailSecurityScreens.xml#PasswordEmail not found
2007-09-30 12:26:53,250 (default-invoker-Thread-7) [NotificationServices.java:137:ERROR] prepareNotification failed: Problem finding template; see logs
2007-09-30 12:26:53,250 (default-invoker-Thread-7) [NotificationServices.java:159:ERROR] Invalid email body; null is not allowed
2007-09-30 12:26:53,250 (default-invoker-Thread-7) [  ServiceDispatcher.java:510:ERROR] Error in Service [sendGenericNotificationEmail]: Invalid email body; null is not allowed

I did not look further, maybe later if nobody beat me on this (BJ ? ;o)

Thanks

> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

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

one of the emails got me to thinking
if retrieve works with a widget
what does it do that newcustomer does not

it calls
sendMailFromScreen
so the best fix is to change new customer
will try to submit a patch


> 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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

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

I am finding a lot of things that need to be cleaned up or fixed in the product store emails
Should I make a sub task of this for those or start a new Jira


> 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 | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

BJ Freeman updated OFBIZ-1274:
------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: OFBIZ-1278

> 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: Sub-task
>          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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

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

OFBIZ-982 would take care of this also
can close it once it is applied.

> 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: Sub-task
>          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 | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

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

this is covered under OFBIZ-982 and OFBIZ-1281
so it can be closed once those two are closed if that is the standard way to to it


> 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: Sub-task
>          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 | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1274) does not send email password when new customer is created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacopo Cappellato closed OFBIZ-1274.
------------------------------------

    Resolution: Duplicate

Please refer to: OFBIZ-982 and OFBIZ-1281.

> 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: Sub-task
>          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.