Uploaded image for project: 'OpenMRS - ADX -  DHIS Report Module'
  1. OpenMRS - ADX - DHIS Report Module
  2. DRM-28

'Map Location' Page Crash when DHIS2 Instance has no ORG Units.

    XMLWordPrintable

    Details

    • Complexity:
      Low
    • Development:

      Description

      Map Location Page (http://localhost:8080/openmrs/module/dhisreport/mapLocations.form) Crashes when DHIS2 Instance has no ORG Units. This happens because when we try to extract OrganizationUnits from metaData it returns Null. This null value is not yet checked.

      How to reproduce the bug?
      Prerequisite:
      1. OpenMRS Instance with DHISReport Module Installed on it. https://github.com/openmrs/openmrs-module-dhisreport
      2. DHIS2 Instance.
      Do not enter any ORG units in DHIS2 Instance.

      Click on 'DHIS' tab at OpenMRS Home to enter into DHISReport Module.
      Then Click on 'Map Location' tab.
      You will find that page crashes.

        Gliffy Diagrams

          Attachments

          1. Capture1.PNG
            Capture1.PNG
            33 kB
          2. DRM-28.PNG
            DRM-28.PNG
            38 kB

            Issue Links

              Activity

                People

                Assignee:
                gcliff CLIFF GITA
                Reporter:
                pralay pralay ramteke
                Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 3 hours Original Estimate - 3 hours
                    3h
                    Remaining:
                    Time Spent - 3 hours Remaining Estimate - 2 weeks
                    2w
                    Logged:
                    Time Spent - 3 hours Remaining Estimate - 2 weeks
                    3h