Affects Version/s: 1.4.0
Fix Version/s: None
Edit option of client family details is not working.
- Add family details to the client(do not add profession, gender, and marital status)
- Edit the family details and change any field.
The system will not accept and the error is not handled in the system
In the Inspect mode, the system is throwing an internal exception for "profession, marital and gender status_cv_id " even though these parameters are not mandatory
Expected behavior, the system should allow to Edit the family details, even when profession, marital and gender fields are not entered.
Exception example is below
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Cannot add or upda
te a child row: a foreign key constraint fails (`fineract_default`.`m_family_mem
bers`, CONSTRAINT `FK_m_family_members_profession_m_code_value` FOREIGN KEY (`pr
ofession_cv_id`) REFERENCES `m_code_value` (`id`))