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

HibernateOrderDAO exception uses wrong message code

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • Core 2.1.0
    • None
    • None

    Description

      HibernateOrderDAO has a whitespace in one of its exceptions message codes.

      see https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/api/db/hibernate/HibernateOrderDAO.java#L262

      This leads to the exception message not getting translated.

      Additionally there is some left over code, searchCriteria that is never used:
      https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/api/db/hibernate/HibernateOrderDAO.java#L256-L257

      Gliffy Diagrams

        Attachments

          Activity

            People

              teleivo Ivo Ulrich
              teleivo Ivo Ulrich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: