Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Issue #780 Parsing JSON Central responses fails when unexpected fields arrive #781

Merged
merged 2 commits into from
Aug 20, 2019
Merged

Issue #780 Parsing JSON Central responses fails when unexpected fields arrive #781

merged 2 commits into from
Aug 20, 2019

Conversation

ggalmazor
Copy link
Contributor

Closes #780

What has been done to verify that this works as intended?

Manully verified using the UI and the instructions in the issue

Why is this the best possible solution? Were any other approaches considered?

Super narrow fix to ignore unknown/undeclared/unused props in incoming JSONs from Central

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Pretty safe change behavior-wise.

Does this change require updates to documentation? If so, please file an issue at https://github.com/opendatakit/docs/issues/new and include the link below.

Nope.

- Central (latest) will reject requests arriving with auth tokens and session cookies. Since we don't really need cookies for anything, this is a quick fix for this issue while we decide what to do about auth in Central
@ggalmazor ggalmazor requested a review from dcbriccetti August 8, 2019 13:48
@ggalmazor ggalmazor added this to the v1.17.0 milestone Aug 8, 2019
@kkrawczyk123
Copy link
Contributor

Tested with success
I am not able to reproduce the issue anymore.
Verified on Ubuntu, MacOS and Windows.

@opendatakit-bot unlabel "needs testing"
@opendatakit-bot label "behavior verified"

@ggalmazor
Copy link
Contributor Author

Hi, @dcbriccetti! Will you have some cycles this week to do this one? We would like to release v1.17 next week if possible ;)

@ggalmazor ggalmazor modified the milestones: v1.17.0, v1.16.3 Aug 19, 2019
@ggalmazor ggalmazor merged commit 7b8bca9 into getodk:master Aug 20, 2019
@ggalmazor ggalmazor deleted the issue_780_fix_json_parsing_central_responses branch August 20, 2019 13:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parsing JSON Central responses fails when unexpected fields arrive
4 participants