Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4509

Cannot edit concept description to empty

    XMLWordPrintable

    Details

    • Complexity:
      Low

      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
      

        Attachments

          Activity

            People

            Assignee:
            vinay Vinay Venu [X] (Inactive)
            Reporter:
            vinay Vinay Venu [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified