-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New map geometry drawn doesn't contain taskID #2105
Comments
Remind me again, do we need the assigned task id for anything in particular? If its about displaying on the submission table, then its actually a positive having no assigned task id, as it shows the geom was newly created. But I feel we already encountered this is before on the react frontend and have discussed it somewhere. It should be an easy fix hopefully, just adding |
So if there is no taskID, we will have difficulties to filter the submission based on taskID. And we will be needing the project ID in tasks level feature wise validation workflow which we are thinking as per in person discussion. So I believe, we need TaskID in new entities as well. But you also have got point, managers will be interested in knowing which were the features latter added by mappers during field mapping. we need to think of something to differentiate new geometries as well. |
There is the new_feature=true field for the submission, plus we are logging new geoms to the geometrylog table after recent changes. Adding the task id and project id should be easy enough via Collect intent, or Web Forms 👍 (the only time I think project id is useful is if the user visualises multiple sets of data together, such as the case of a dashboard made to overview Tokha projects) |
@spwoodcock can you confirm what is the query key for passing the task id? I tried with |
Ah thanks for testing! Its due to the form logic We can no longer inject the task_id field as its calculated from the existing entity task_id field 😅 I'm not sure there is a way to make the same field handle both scenarios. Perhaps we need a new field in the form called |
Could you add the task_id to the URL please @NSUWAL123 and then we will update the osm-fieldwork code to fix this 🙏 |
Sure! |
Closing in favour of #2146 |
Describe the bug
When user draw new geometry in field during data collection, the task ID is not associated with the created entity.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The new geometry should also include taskID.
Also the submission details page should be refined for those submission linked with newly created geometry. The coordinates is listed which doesn't provide specific meaning
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: