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

PersonAddress isBlank() method needs to be updated to use the latest address fields; also probably should handle "blank" case or be renamed is null

    XMLWordPrintable

    Details

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

      Description

      The current isBlank() method on Person Address needs to be updated to include all the current address properties.

      Also, right now it only performs a null test on each field.

      I would argue that it really should do a StringUtils.isBlank(address.getAddress1()) test or be renamed isNull. Thoughts?

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              kmithemanth Hemanth Devarapalli
              Reporter:
              mogoodrich Mark Goodrich
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: