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

PropertyEditors check for null primary key in getAsText

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Core 2.2.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      A few PropertyEditors check their OpenmrsObject.id for null in getAsText() in case the object is not null. This is not necessary since its the PK and its guaranteed to be not null.

      • PersonEditor
      • ConceptReferenceTermEditor
      • ConceptMapTypeEditor

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                teleivo Ivo Ulrich
                Reporter:
                teleivo Ivo Ulrich
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: