Details
-
Bug
-
Status: Closed
-
Should
-
Resolution: Fixed
-
Platform 1.10.0, Platform 1.12.0
-
None
Description
Go to Dictionary.
Select a concept (Create one if none available).
Make description empty.
Save.
Expected Behavior:
Save should succeed, concept_description row should be deleted.
Actual Behavior:
Error message: Could not execute JDBC batch update; SQL [update concept_description set concept_id=?, description=?, locale=?, date_created=?, creator=?, date_changed=?, changed_by=?, uuid=? where concept_description_id=?]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [update concept_description set concept_id=?, description=?, locale=?, date_created=?, creator=?, date_changed=?, changed_by=?, uuid=? where concept_description_id=?]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update