onaio / reveal-frontend

WebUI for the Reveal epidemiological surveillance platform
8 stars 4 forks source link

Thailand Production Map View Not Showing data on some plans #1397

Closed samkanga closed 3 years ago

samkanga commented 3 years ago

image

samkanga commented 3 years ago

@moshthepitt the fix for this ticket is not working on Thailand preview. @Naima-Bashir has shared some feedback on the QA channel and I did another test with the plan here and the data still does not show on the map nor on the indicators panel. The page is throwing a 500 errror when trying to GET this url.

Naima-Bashir commented 3 years ago

I've tested this https://github.com/onaio/reveal-frontend/pull/1400 on thailand I created a plan with only one goal, residential structures and I created new family members on android. I synched it and it's still hasn't shown the families I created https://web.reveal-th-preview.smartregister.org/focus-investigation/map/b48b0c46-6184-5656-97cb-a345ff57f8eb

Naima-Bashir commented 3 years ago

My findings: I registered families and completed their tasks on android. I synched the device and it did not reflect on web image image cc @samkanga @moshthepitt

ciremusyoka commented 3 years ago

Have confirmed that:

Though we tried syncing the data again on the mobile app successfully, the changes aren't reflected on the tasks table. e3c6088c-960f-5f3a-9d71-26798c3c91a0 is the plan id we used for testing.

moshthepitt commented 3 years ago

@Naima-Bashir could you please post a link to a plan that this is happening for? I cannot find one.

moshthepitt commented 3 years ago

@Naima-Bashir for https://web.reveal-th-preview.smartregister.org/focus-investigation/map/b48b0c46-6184-5656-97cb-a345ff57f8eb/RACD_register_families the web app currently show:

whatis

Looks to me like the web app is indeed showing points when you have only one activity (which is the bug reported in this issue).

What should be displayed instead of the above?

Naima-Bashir commented 3 years ago

The numerator/denominator count should change for every new family registered, no?

moshthepitt commented 3 years ago

Closing this based on discussions here and the fact that structures now show up on the map even if there is just one activity:

กิจกรรมสอบสวน