OpenMRS/openmrs-module-htmlformentry — comment on commit 17ca9644e14e47d2d96019486a36e1d1656dd5ac
File: api/src/main/java/org/openmrs/module/htmlformentry/element/PatientDetailSubmissionElement.java line 330
By rkorytkowski:

No. It has nothing to do with the hibernate flushing issue. The problem was that indentifier and identifierType were validated separately that is if you changed identifier then it was validated against old identifierType instead of updated identifierType. Now I always validate updated identifier and identifierType.