Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: Fuji
-
Fix Version/s: Fuji
-
Component/s: Merchant UI, Reseller UI
-
Labels:None
-
Sprint:Sprint 10
Description
Steps:
1.Create a merchant having valid email address
2.Click on Reports and send Invite - Account activation email sent
3.click on activation URL and set the password
Actual Result:
Password has been set but activation email hasn't send to Merchant's email address.
Tomcat log:
ddress: http://127.0.0.1:8080/sapi/rest/security/tokens/send-notification
Http-Method: GET
Content-Type:
Headers:
--------------------------------------
2014-10-28 08:15:40,964-90231311 [http-8080-7] INFO org.apache.cxf.interceptor.LoggingOutInterceptor [] - Outbound Message
---------------------------
ID: 2160
Response-Code: 200
Content-Type: application/json;charset=UTF-8;version=2.6.3-SNAPSHOT
Headers:
Payload: C25ND5EHIQTOR2VLFXDBL5R4EV47OSS7L5JKW2WIY3Y7ACSLSSIG5YNJW7XCNL242TFWXP44Z3WVSGEIFATOTAZXXX5DS5H4JCUXLA6L3F7VXEFWTCXCHDJWCSMYJUR43BVNYSGCLEP3V5F7LPYUFLTJ5HICSSOE3M6KB7CHQW467BFNLHUPTIABPJMV2IN2DNYUPWQPD2HRG===
--------------------------------------
2014-10-28 08:15:41,300-90231647 [http-8080-5] INFO org.apache.cxf.interceptor.LoggingInInterceptor [] - Inbound Message
----------------------------
ID: 2161
Address: http://127.0.0.1:8080/sapi/rest/notifications/email
Encoding: UTF-8
Http-Method: POST
Content-Type: application/json; charset=utf-8
Headers:
Payload:
{"recipientId":"298585fb-9aad-492b-9b7e-091a06a78928","merchantId":"91295b40-8e02-49b2-b937-ae237a0cebe9","messageType":"account-activated","url":"http://fuji.aml-qa7-front1:9910/merchant/","userType":"merchant"}--------------------------------------
2014-10-28 08:15:41,336-90231683 [http-8080-5] WARN com.thesearchagency.sapi.services.notification.NotificationService [timezone=Etc/UTC, principalId=d42f5a21-fd27-4381-8726-1aa5194e6443, requestId=5e3e68fa-30a2-4c2f-b3aa-a49821da6ff8, locale=en_US, authToken=C25ND5EHIQTOR2VLFXDBL5R4EV47OSS7L5JKW2WIY3Y7ACSLSSIG5YNJW7XCNL242TFWXP44Z3WVSGEIFATOTAZXXX5DS5H4JCUXLA6L3F7VXEFWTCXCHDJWCSMYJUR43BVNYSGCLEP3V5F7LPYUFLTJ5HICSSOE3M6KB7CHQW467BFNLHUPTIABPJMV2IN2DNYUPWQPD2HRG===, hostname=127.0.0.1, ipAddress=127.0.0.1] - Unable to find merchant with id: 91295b40-8e02-49b2-b937-ae237a0cebe9
2014-10-28 08:15:41,340-90231687 [http-8080-5] ERROR com.thesearchagency.sapi.services.notification.NotificationService [timezone=Etc/UTC, principalId=d42f5a21-fd27-4381-8726-1aa5194e6443, requestId=5e3e68fa-30a2-4c2f-b3aa-a49821da6ff8, locale=en_US, authToken=C25ND5EHIQTOR2VLFXDBL5R4EV47OSS7L5JKW2WIY3Y7ACSLSSIG5YNJW7XCNL242TFWXP44Z3WVSGEIFATOTAZXXX5DS5H4JCUXLA6L3F7VXEFWTCXCHDJWCSMYJUR43BVNYSGCLEP3V5F7LPYUFLTJ5HICSSOE3M6KB7CHQW467BFNLHUPTIABPJMV2IN2DNYUPWQPD2HRG===, hostname=127.0.0.1, ipAddress=127.0.0.1] - Exception caught in execution. Data is null
com.thesearchagency.services.commons.ServiceException: Unable to find merchant with id: 91295b40-8e02-49b2-b937-ae237a0cebe9
at com.thesearchagency.sapi.services.notification.NotificationService.getMerchantData(NotificationService.java:290) ~[NotificationService.class:na]
at com.thesearchagency.sapi.services.notification.NotificationService.doSend(NotificationService.java:183) ~[NotificationService.class:na]
at com.thesearchagency.sapi.services.notification.NotificationService.access$000(NotificationService.java:90) ~[NotificationService.class:na]
at com.thesearchagency.sapi.services.notification.NotificationService$1.call(NotificationService.java:171) ~[NotificationService$1.class:na]
at com.thesearchagency.sapi.services.SAPIService.doExecute(SAPIService.java:159) ~[SAPIService.class:na]
Expected :
Merchant user should receive activation confirmation email