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

Concept(Integer) constructer doesn't call this()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.9.2
    • Fix Version/s: OpenMRS 1.9.4, Platform 1.10.0
    • Component/s: None
    • Labels:
      None

      Description

      I was trying to say "new Concept(1)" in a unit test, and noticed that that constructor doesn't call this(), so the set properties all end up null.

      TODO: add a one-line "this()" call at the start of the constructor that takes an Integer.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              guilhermejccavalcanti Guilherme Cavalcanti
              Reporter:
              darius Darius Jazayeri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: