Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 2.1.0
-
Fix Version/s: 2.1.0
-
Component/s: Merchant UI
-
Labels:
-
Environment:
QA Environment 2
• Merchant Dashboard - 487
• Reseller UI - 487
• SAPI - 690
-
Sprint:Sprint 8 - Cumberland
Description
Merchant user whose email address exists on different realms is NOT able to change the password.
Steps:
1.Login to realm (http://aq-qa2-front1:9986/reseller/?realm=amlntttesting#LOGIN) and create a merchant having email address - atul.sanagar@thesearchagency.com
2."Send invite", click activation link and set the PASSWORD, after sometime it redirects to Merchant login page.
3.Click on Forgot password link and enter email address "atul.sanagar@thesearchagency.com", click submit button - email sent
4.Now follow (1-2) steps on different realm "(http://qaamlntttest.aq-qa2-front1:9986/reseller/#LOGIN)" and create a merchant with same email address i.e atul.sanagar@thesearchagency.com
5.Click on forgot password link, enter email address "atul.sanagar@thesearchagency" and observe
Observation :
It shows "Unable to change your password at this time." & tomcat log shows exception -Multiple users found with email 'atul.sanagar@thesearchagency.com'
Please see attached screenshot - AML_ForgotPassword_UnableToChange.JPG
Snippet of tomcat log :
{Detailed tomcat log attached}2013-04-26 10:12:08,791-220327005 [http-8080-5] ERROR com.thesearchagency.sapi.services.notification.NotificationService [timezone=Etc/UTC, principalId=d42f5a21-fd27-4381-8726-1aa5194e6443, requestId=1d9f3628-71b5-4279-bd22-07ffab34c287, locale=en_US, authToken=X2CU34D5NWDJUJANQTKBSVBJJWTUJICXKIU25XCICVNKOTEZJJFAOQIJHKQS6Z5LOCPPGKSFSOPKHXA733FLOD5JPSPC4I2LL75ZGBAXWU7DRQFVHTMIQZIHYBGG2S3OO3KWSZYIKKX55RHVKNIWP4CLAU7HJG7JJ62VQBPYD4IBDEMNAEVGFOAQNQCEC6YT, hostname=0:0:0:0:0:0:0:1, ipAddress=0:0:0:0:0:0:0:1] - Exception caught in execution. Data is email
com.thesearchagency.saas.core.services.ServiceException: Multiple users found with email 'atul.sanagar@thesearchagency.com'
at com.thesearchagency.saas.core.services.notification.NotificationServiceComponent.getRecipientData(NotificationServiceComponent.java:216) ~[saas-core-services-notification-service-component-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at com.thesearchagency.saas.core.services.notification.NotificationServiceComponent.getResolvedMessageData(NotificationServiceComponent.java:168) ~[saas-core-services-notification-service-component-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at com.thesearchagency.saas.core.services.notification.NotificationServiceComponent.sendNotification(NotificationServiceComponent.java:127) ~[saas-core-services-notification-service-component-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at com.thesearchagency.sapi.services.notification.NotificationService$1.call(NotificationService.java:90) ~[NotificationService$1.class:na]
at com.thesearchagency.sapi.services.SAPIService.doExecute(SAPIService.java:181) ~[SAPIService.class:na]
at com.thesearchagency.sapi.services.notification.NotificationService.sendNotification(NotificationService.java:84) [NotificationService.class:na]
Expected :
As we are able to create Merchants having same email address across different relams, they should able to reset the password .