Closed cafootitt closed 3 years ago
Andravoahangy 1 BLV3461
Andravoahangy 2 BLV3460
KOFIAM Soavimasoandro BLV3593
Analakely BLV3458
COUM 67ha BLV3476
Ambodinisotry
Petite Vitesse
Anosibe 1
Isotry
Anosibe 2
Soamanantombo
Anosibe 3
Ambohimanarina
Anosibe 4
These structures are missing "type": "Feature"
property. @cafootitt
@p-netm Service Points created from the web look like so
{
"id": "05133682-bd9a-4949-ab51-b232222a4945",
"geometry": {
"type": "Point",
"coordinates": [
49.567,
-16.084
]
},
"properties": {
"type": "EPP",
"status": "Active",
"parentId": "984e0c49-cca9-41e3-b0f1-0b3d0eaa62cf",
"name": "Test Service Point",
"geographicLevel": 4,
"version": 0,
"username": "demo",
"name_en": "Test Service Point"
},
"serverVersion": 42761
}
While a valid structure should be
{
"type": "Feature", *** missing from above
"id": "97d4b44e-1021-4eaf-9b59-d7398cfd4c58",
"properties": {
"type": "EPP",
"status": "Active",
"parentId": "5e922a2b-ff09-493f-94e0-84e6b573e5a1",
"name": "Epp Eramamy",
"geographicLevel": 0,
"version": 0,
"adminleveltag": "Commune"
},
"serverVersion": 40804
}
This was fixed and all SPs are loading with the correct tasks.
Here's the mission: https://web.mg-eusm-staging.smartregister.org/missions/assignments/087ac84a-dc19-5b89-a6ac-e85e535e1215
When a user assigned to this mission logs in and selects the mission and distirct in the dropdown, the app starts to fetch the service points and then crashes, consistently.