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

ValidationException should contain the entire Errors object instead of just the error message text

    XMLWordPrintable

Details

    • Low

    Description

      Inconveniently, in openmrs-core, the ValidateUtil.validate(Object) method manually combines error messages into a single string. See https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/validator/ValidateUtil.java#L83 . The correct thing to do would be to also pass along the Errors object as part of the ValidationException.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                mogoodrich Mark Goodrich
                mogoodrich Mark Goodrich
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: