-
Notifications
You must be signed in to change notification settings - Fork 133
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
Flow data results in a merged dataset is blank #1643
Comments
Merged Datasets / I feel like the migration necessary for this may break backwards compatibility. Should I go forward with this approach ? |
Why would it break backwards compatibility? |
Pre-existing Merged Datasets won't have the field and I feel like the |
The other approach would be to allow null values on the field. But I'm not so sure how to go about updating and adding uuid's for Merged Datasets created before this change is implemented. |
Can we use a data migration to fill this field? An require that it not be null |
Confirmed with @ivermac seems like setting a default would fill the field. And from this post here, seems like its possible to set a uuid as default. I'll go ahead with this approach. |
Researched a bit into the FLOIP spec as suggested here. Noted down the following: The FLOIP spec supports the following Question types: multiple_choice_one/select_one, multiple_choice_many/select_many, numeric, open, text, image, video, audio, geo_point, date, time, datetime The The 'name' metadata should be on the same level as 'title' according to this and this The other change already identified in the conversation on #1773 is that the 'id' returned should be UUID4 (hex+digits) this would possibly require us to change how we set uuid's on onadata.. Optionally we can use I think this changes should be in a separate issue all together, if they're needed.... thoughts ? |
I think we do not necessarily need to change that but we could. From how we store it you can get the dashed version: >>> import uuid
>>> uuid.UUID('a94dc0c6f4bb4cea95af8df3969c67bc')
UUID('a94dc0c6-f4bb-4cea-95af-8df3969c67bc')
>>> |
Please create issues for the others so that we can make the changes to conform to specification. |
Created an issue for the other changes |
The flow data results endpoint returns blank for a merged dataset form- https://api.ona.io/api/v1/flow-results/packages/{UUID}/responses whereas the data endpoint - https://api.ona.io/api/v1/data/{pk}.json - would return data.
There should be data returned from the flow data results endpoint.
Aha! Link: https://ona.aha.io/features/PROD-233
The text was updated successfully, but these errors were encountered: