gdaz1
October 28, 2024, 9:26am
1
Hello, I have been experiencing an issue since last week with the map not displaying data and showing the error: “No ‘geopoint’ responses have been received.” This seems to be occurring across all my projects, regardless of how far back I go. Does anyone have a solution to this?
1 Like
Welcome back to the community, @gdaz1 ! Thank you for bringing this to our attention. We will update you once we fix this issue.
1 Like
I have the same problem. I can’t see my data on the map for my new form created last week, even though it worked on the same day. I also tried with my older projects to understand the issue, but the same problem occurs: when I click on the map, I get the message ‘No geopoint response has been received.’ Please keep me informed about the resolution of this issue.
Welcome to the community, @engineer_tf ! We will soon have a fix for this issue. You should be able to track it here:
kobotoolbox:main
← kobotoolbox:task-1199-bug-map-does-not-show-geo-points
opened 01:11AM - 29 Oct 24 UTC
## Checklist
1. [x] If you've added code that should be tested, add tests
2.… [x] If you've changed APIs, update (or create!) the documentation
3. [x] Ensure the tests pass
4. [x] Run `./python-format.sh` to make sure that your code lints and that you've followed [our coding style](https://github.com/kobotoolbox/kpi/blob/main/CONTRIBUTING.md)
5. [x] Write a title and, if necessary, a description of your work suitable for publishing in our [release notes](https://community.kobotoolbox.org/tag/release-notes)
6. [x] Mention any related issues in this repository (as #ISSUE) and in other repositories (as kobotoolbox/other#ISSUE)
7. [x] Open an issue in the [docs](https://github.com/kobotoolbox/docs/issues/new) if there are UI/UX changes
8. [x] Create a testing plan for the reviewer and add it to the Testing section
9. [x] Add frontend or backend tag and any other appropriate tags to this pull request
## Description
This PR fixes a bug where sometimes the geo-points are not properly plotted in form > data > map
## Notes
Issue was in `map.es6`:
- The `buildMarkers` function did not have submissions data set when called
- The issue was due to the async nature of `setState`
- `buildMarkers` was being called right after the `setState`, so the state wasn't yet ready when the function was executed.
- To fix it, `buildMarkers` (and `buildHeatMap`) were moved to the callback of `setState` function, so they'll have the data to be processed.
## Testing
- Create a form with a GeoPoint, Line or Area question
- Save + deploy the form
- Collect data with either Enketo or Collect
- Go to Data → Maps
- The submitted points should now be properly plotted in the map
We will update you once we make the fix live.
1 Like
@gdaz1 , @engineer_tf , kindly please be informed that the issue has been resolved. FYR:
A new patch release 2.024.33b is available and has been deployed to our production servers at 13:15 UTC on Thursday, 31 October 2024:
Improvements
PR
Description
kpi#5214
Fix Help menu display bug
kpi#5205
Fix SSRFProtect validation options to properly handle Constance settings
kpi#5206
Fix geo-points not displaying in map
kpi#5207
Reduce likelihood of 504 errors when deleting projects
2 Likes