[ https://issues.apache.org/jira/browse/OFBIZ-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237551#comment-13237551 ] BREMA Dev Team commented on OFBIZ-3790: --------------------------------------- There is no productStoreId in the session for an user of a back application, and ProductStoreEmailSetting is not available. This is the reason. However we can use default template and default sender's address from general.properties in this case. See the patch. Also we removed some dead code. > email password broken > --------------------- > > Key: OFBIZ-3790 > URL: https://issues.apache.org/jira/browse/OFBIZ-3790 > Project: OFBiz > Issue Type: Bug > Reporter: Si Chen > Assignee: Jacques Le Roux > Attachments: Screen shot 2010-05-28 at 9.25.05 AM.png > > > Email password feature in party manager is broken. The log shows: > 2010-05-28 09:24:58,193 (http-0.0.0.0-8543-14) [ ControlServlet.java:131:INFO ] [[[forgotPassword] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] > 2010-05-28 09:24:58,268 (http-0.0.0.0-8543-14) [ RequestHandler.java:597:INFO ] Ran Event [java:org.ofbiz.securityext.login.LoginEvents#forgotPassword] from [request], result is [success] > 2010-05-28 09:24:58,275 (http-0.0.0.0-8543-14) [ RequestHandler.java:704:INFO ] Rendering View [forgotPassword], sessionId=6B88D615C7E15A7F8A3D1238F3447D27.jvm1 > 2010-05-28 09:24:58,278 (http-0.0.0.0-8543-14) [ ScreenRenderer.java:106:INFO ] render screen: forgotPassword, resource: component://common/widget/CommonScreens.xml > 2010-05-28 09:24:58,325 (http-0.0.0.0-8543-14) [ PrimaryKeyFinder.java:142:INFO ] Returning null because found incomplete primary key in find: [GenericEntity:PartyNameView][partyId,null()] > 2010-05-28 09:24:58,520 (http-0.0.0.0-8543-14) [ ServerHitBin.java:691:INFO ] Duplicate ServerHit was updated: [GenericEntity:ServerHit][contentId,partymgr.forgotPassword(java.lang.String)][createdStamp,2010-05-28 09:24:58.518(java.sql.Timestamp)][createdTxStamp,2010-05-28 09:24:58.516(java.sql.Timestamp)][hitStartDateTime,2010-05-28 09:24:58.193(java.sql.Timestamp)][hitTypeId,REQUEST(java.lang.String)][lastUpdatedStamp,2010-05-28 09:24:58.518(java.sql.Timestamp)][lastUpdatedTxStamp,2010-05-28 09:24:58.516(java.sql.Timestamp)][referrerUrl,https://ntc:8543/partymgr/control/main(java.lang.String)][requestUrl,https://ntc:8543/partymgr/control/forgotPassword(java.lang.String)][runningTimeMillis,322(java.lang.Long)][serverHostName,domU-12-31-39-00-0F-51(java.lang.String)][serverIpAddress,10.254.31.159(java.lang.String)][visitId,25693(java.lang.String)] > 2010-05-28 09:24:58,521 (http-0.0.0.0-8543-14) [ ControlServlet.java:300:INFO ] [[[forgotPassword] Request Done- total:0.327,since last([forgotPassword] ...):0.327]] > 2010-05-28 09:25:02,715 (http-0.0.0.0-8543-15) [ ControlServlet.java:131:INFO ] [[[forgotPassword] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] > 2010-05-28 09:25:03,074 (http-0.0.0.0-8543-15) [ UtilProperties.java:871:INFO ] ResourceBundle SecurityextUiLabels (en_US) created in 0.12s with 53 properties > 2010-05-28 09:25:03,075 (http-0.0.0.0-8543-15) [ RequestHandler.java:597:INFO ] Ran Event [java:org.ofbiz.securityext.login.LoginEvents#forgotPassword] from [request], result is [error] > 2010-05-28 09:25:03,110 (http-0.0.0.0-8543-15) [ RequestHandler.java:400:ERROR] Request forgotPassword caused an error with the following message: Problems with configuration; please contact customer service. > 2010-05-28 09:25:03,111 (http-0.0.0.0-8543-15) [ RequestHandler.java:704:INFO ] Rendering View [forgotPassword], sessionId=6B88D615C7E15A7F8A3D1238F3447D27.jvm1 > 2010-05-28 09:25:03,116 (http-0.0.0.0-8543-15) [ ScreenRenderer.java:106:INFO ] render screen: forgotPassword, resource: component://common/widget/CommonScreens.xml > 2010-05-28 09:25:03,141 (http-0.0.0.0-8543-15) [ PrimaryKeyFinder.java:142:INFO ] Returning null because found incomplete primary key in find: [GenericEntity:PartyNameView][partyId,null()] > 2010-05-28 09:25:03,380 (http-0.0.0.0-8543-15) [ ServerHitBin.java:691:INFO ] Duplicate ServerHit was updated: [GenericEntity:ServerHit][contentId,partymgr.forgotPassword(java.lang.String)][createdStamp,2010-05-28 09:25:03.378(java.sql.Timestamp)][createdTxStamp,2010-05-28 09:25:03.376(java.sql.Timestamp)][hitStartDateTime,2010-05-28 09:25:02.715(java.sql.Timestamp)][hitTypeId,REQUEST(java.lang.String)][lastUpdatedStamp,2010-05-28 09:25:03.378(java.sql.Timestamp)][lastUpdatedTxStamp,2010-05-28 09:25:03.376(java.sql.Timestamp)][referrerUrl,https://ntc:8543/partymgr/control/forgotPassword(java.lang.String)][requestUrl,https://ntc:8543/partymgr/control/forgotPassword(java.lang.String)][runningTimeMillis,660(java.lang.Long)][serverHostName,domU-12-31-39-00-0F-51(java.lang.String)][serverIpAddress,10.254.31.159(java.lang.String)][visitId,25693(java.lang.String)] > 2010-05-28 09:25:03,381 (http-0.0.0.0-8543-15) [ ControlServlet.java:300:INFO ] [[[forgotPassword] Request Done- total:0.665,since last([forgotPassword] ...):0.665]] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |