Open
Description
Describe the bug
(Changes occurred recently in in the submission-data-converter code, and I have not upgraded the application yet to know whether the issue was resolved.)
An optional image element on a job can be skipped in the android app. Attempting to view this entry in the web application leads to a loading icon in the submission list that will not go away until the page is refreshed in the browser.
To Reproduce
Steps to reproduce the behavior:
- Create an optional image for a job in the web app.
- Collect data with and without images in the android app.
- Return to the job in the web app
- Select entries that did not have an image
- The loading icon will load and prevent further selections.
Expected behavior
The page should load without error and omit the image that was skipped.
Screenshots
If applicable, add screenshots to help explain your problem.
This error exist in the console:
Stacktrace:
ERROR Error: Error converting to Submission: invalid task data
at submission-data-converter.ts:99:16
at Array.forEach (<anonymous>)
at taskDataPbToModel (submission-data-converter.ts:64:6)
at submissionDocToModel (submission-data-converter.ts:121:5)
at data-store.service.ts:410:37
at Array.map (<anonymous>)
at data-store.service.ts:409:16
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status