Photo and 'See Photo' link should be hidden after selecting 'Hide' option on 'Define mandatory/hidden fields' page

Description

Currently, when you check 'Hide' checkbox for Photo on 'Define mandatory/hidden fields' page, then on Client details page 'See photo' link is still visible. Moreover, when you open 'Edit personal information' page, photo is also visible along with the 'Delete' link and "Choose another file to change the picture" text. All fields related to photo should be hidden if 'Hide' checkbox is checked.

Environment

None

Activity

Show:
Jakub Sławiński
October 7, 2011, 4:27 PM

It would be good to include this in 2.2.1.

Mifos Hudson Jira Plugin User
October 7, 2011, 8:13 PM

Integrated in

head-g-release-secondary #169
: hidden field client photo still gets displayed

Udai Gupta :
Files :

  • application/src/main/resources/META-INF/resources/pages/application/client/jsp/viewClientDetails.jsp

  • application/src/main/resources/META-INF/resources/pages/application/client/jsp/preview_EditClientPersonalInfo.jsp

  • application/src/main/resources/META-INF/resources/pages/application/client/jsp/edit_ClientPersonalInfo.jsp

  • application/src/main/java/org/mifos/customers/client/struts/action/ClientCustAction.java

  • appdomain/src/main/java/org/mifos/customers/client/util/helpers/ClientConstants.java

  • application/src/main/resources/META-INF/resources/pages/application/client/jsp/preview_ClientDetails.jsp

  • application/src/main/java/org/mifos/customers/client/struts/actionforms/ClientCustActionForm.java

Mifos Hudson Jira Plugin User
October 10, 2011, 1:03 PM

Integrated in

head-master-secondary #516
: hidden field client photo still gets displayed

Udai Gupta :
Files :

  • application/src/main/resources/META-INF/resources/pages/application/client/jsp/preview_EditClientPersonalInfo.jsp

  • application/src/main/resources/META-INF/resources/pages/application/client/jsp/preview_ClientDetails.jsp

  • appdomain/src/main/java/org/mifos/customers/client/util/helpers/ClientConstants.java

  • application/src/main/resources/META-INF/resources/pages/application/client/jsp/edit_ClientPersonalInfo.jsp

  • application/src/main/java/org/mifos/customers/client/struts/action/ClientCustAction.java

  • application/src/main/java/org/mifos/customers/client/struts/actionforms/ClientCustActionForm.java

  • application/src/main/resources/META-INF/resources/pages/application/client/jsp/viewClientDetails.jsp

Lukasz Chudy
October 11, 2011, 6:48 AM

Verified on 11.10.2011
Bug has been fixed properly.

Assignee

UdaiU

Reporter

Lukasz Chudy

Labels

None

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure