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

PatientIdentifier's equals method always return true when the identifier, patient and identifierType null

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • OpenMRS 1.6.0
    • None
    • None

    Description

      The equals method assuming that the three of them will be not null. When all three of them are null, the equals will always return true. This, in turn will prevent a new patient identifier being added to a patient.

      Gliffy Diagrams

        Attachments

          1. patient-identifier-test.diff
            2 kB
          2. pid.diff
            1 kB

          Activity

            People

              nyoman Nyoman Ribeka
              nyoman Nyoman Ribeka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: