Skip to content

ODC cannot load data from instruments with a z.set() field, even when converted to string #1543

Description

@david-roper

What Happened?

after finishing a form with a z.set() field as in one of its measures the data does not get deserialized when displayed in the subject table datahub tab properly.

What Did You Expect?

ODC should be able to properly deserialize z.set() data into its components from the backend into the frontend and display them in a way that viewalbe in a csv, excel, etc. when the record is exported.

Operating System

macOS

Browser (if applicable)

Firefox

Steps to Reproduce

Take a form with a z.set(), such as this one

Upload the bundle to an ODC instance
Create a session and complete the form
Viewed the subjects completed form in the subject table option of the datahub

Anything Else?

If a user tries to use a set field in an instrument without splitting the contents in a computed measure they will also receive this error when they navigate to the dashboard and datahub pages

error(5).json

Another example when converted to string:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions