When a user adds a new patient address or name or identifier and they get sent back to the form after validation errors, if they try to resubmit the form, an 'org.springframework.beans.InvalidPropertyException' is encountered. This bug shows up nearly in all OpenMRS versions prior to 1.9.
- from the patient dashboard, go to Edit Patient (the long form version)
- change the birthdate to something illegal (99/99/9999) and add another name for the patient
- click save
- (as expected you get an error about the birthdate)
- fix the birthdate
- click save again
- you get an ugly error page like: