opensrp / opensrp-client-reveal

OpenSRP Client Reveal App
Other
7 stars 8 forks source link

App Crashing on clicking Detect Case for Case confirmation plan on Thai-Prev #1547

Closed madrinekariuki closed 2 years ago

madrinekariuki commented 2 years ago

An issue has been noted on the Thailand preview instance, where the App is crashing on clicking "Detect case". app V5.3.26 rc8 user : test77

Steps.

this has been tested on the structure below. image

Rkareko commented 2 years ago

@samkanga @madrinekariuki It appears that the case_confirmation json form has being updated by removing the familyMember json field. This drop-down field is populated by the list of family members and is used to select the family member that is the index. The form with the field can be found here on github

     {
        "key": "familyMember",
        "openmrs_entity_parent": "",
        "openmrs_entity": "",
        "openmrs_entity_id": "",
        "type": "native_radio",
        "label": "Select Family Member that is the Index Case",
        "value": "Yes",
        "v_required": {
          "value": "true",
          "err": "Please choose family member who is the index case"
        }
      }
madrinekariuki commented 2 years ago

case_confirmation json for config was updated and this resolved the issue