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

Faulty ConceptNameTag.equals method

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.6.2, OpenMRS 1.7.1, OpenMRS 1.8.0
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: Data Model
    • Labels:
      None
    • Complexity:
      Low

      Description

      It compares id of type Integer only by reference rather than with equals. There's equals method generated by Eclipse in the patch.

        Gliffy Diagrams

          Attachments

          1. ConceptNameTagEquals2.patch
            1 kB
          2. ConceptNameTagEquals3.patch
            0.8 kB
          3. ConcetpNameTagEquals.patch
            1 kB

            Issue Links

              Attachments-Category-Modification

                Activity

                  People

                  • Assignee:
                    raff Rafal Korytkowski
                    Reporter:
                    raff Rafal Korytkowski
                    Watchers:
                    Ben Wolfe, Darius Jazayeri, Rafal Korytkowski
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    3 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: