Validation not handled properly on change password for first time login after New User creation

Description

Change password screen appears at first time login for a new user (Loan/Non-Loan Officer) under an Office.

First time change password screen is in spring/ftl, which is not handling the validation properly.

STEPS

  • Create a user.

  • Login using new user id.

  • Leave input fields empty in the change password screen and click Submit.

Expected result

  • User is given warning to enter password correctly

Actual result

  • User is on the home screen.

Next time login user can login using empty password.

Environment

None

Activity

Show:
Mifos Hudson Jira Plugin User
March 31, 2011, 1:03 PM

Integrated in

head-master-secondary #219
addfirst time change password form validation
add ChangePasswordValidator
fix PMD errors

Łukasz Domżalski :
Files :

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordController.java

  • organization/src/main/java/org/mifos/customers/personnel/business/PersonnelBO.java

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordFormBean.java

  • appdomain/src/main/java/org/mifos/application/servicefacade/LoginServiceFacadeWebTier.java

  • serviceInterfaces/src/main/java/org/mifos/application/servicefacade/NewLoginServiceFacade.java

Łukasz Domżalski :
Files :

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordValidator.java

Łukasz Domżalski :
Files :

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordValidator.java

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordFormBean.java

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordController.java

Lukasz Chudy
April 4, 2011, 8:54 AM

Verified on 04.04.2011
Now, validation is handled properly on 'Change Password' page.

Commit Identifier: f96bcc8699714b6a011858394cf65e12dc42152f
Build Number: hudson-head-master-archive-228

Mifos Hudson Jira Plugin User
April 14, 2011, 7:45 PM

Integrated in

head-master #2920
addfirst time change password form validation
add ChangePasswordValidator
fix PMD errors

?ukasz Dom?alski : 4a3e3fbd53c93a144f13714b79f57f1b8076a467
Files :

  • organization/src/main/java/org/mifos/customers/personnel/business/PersonnelBO.java

  • appdomain/src/main/java/org/mifos/application/servicefacade/LoginServiceFacadeWebTier.java

  • serviceInterfaces/src/main/java/org/mifos/application/servicefacade/NewLoginServiceFacade.java

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordFormBean.java

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordController.java

?ukasz Dom?alski : c38a37a94005df3804508d59bbd3e674322644d5
Files :

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordValidator.java

?ukasz Dom?alski : 177a30a07a5343dd27c23bbc69b4f3e3357cb864
Files :

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordValidator.java

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordController.java

  • userInterface/src/main/java/org/mifos/ui/core/controller/ChangePasswordFormBean.java

Kay Chau
June 8, 2011, 6:10 PM

Moving to Iteration 8 to update

Assignee

Łukasz Domżalski

Reporter

UdaiU

Labels

None

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Fix versions

Affects versions

Priority

Major
Configure