Details

    • Type: Bug Bug
    • Status: Code Review (Initial)
    • Priority: Must Must
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Complexity:
      Low

      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.
      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

          Issue Links

            Activity

            Hide
            Daniel Kayiwa added a comment -

            Megan Belle are you still working on this?

            Show
            Daniel Kayiwa added a comment - Megan Belle are you still working on this?
            Hide
            Choxmi Sathsara added a comment -

            Please review my PR. Thanks

            Show
            Choxmi Sathsara added a comment - Please review my PR. Thanks
            Hide
            Daniel Kayiwa added a comment -

            Choxmi Sathsara as recommended here https://wiki.openmrs.org/display/docs/Pull+Request+Tips, can you attach some screenshots to confirm the fix?

            Show
            Daniel Kayiwa added a comment - Choxmi Sathsara as recommended here https://wiki.openmrs.org/display/docs/Pull+Request+Tips , can you attach some screenshots to confirm the fix?

              People

              • Assignee:
                Choxmi Sathsara
                Reporter:
                pralay ramteke
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Development