Skip to content

OC-21537 - Fix status issue for forbidden openrosa submission#3657

Open
rehmanali-oc wants to merge 1 commit into
OpenClinica:3.17.xfrom
rehmanali-oc:OC-21537
Open

OC-21537 - Fix status issue for forbidden openrosa submission#3657
rehmanali-oc wants to merge 1 commit into
OpenClinica:3.17.xfrom
rehmanali-oc:OC-21537

Conversation

@rehmanali-oc

@rehmanali-oc rehmanali-oc commented Aug 23, 2023

Copy link
Copy Markdown

NOT_ACCEPTABLE (406) status code was changed to BAD_REQUEST (400) for enketo to parse custom error message for OC-21537. But when submission is forbidden (case where participate is disable or study status other than available), NOT_ACCEPTABLE error code is thrown. This is just simple fix to add another conditional block to look for NOT_ACCEPTABLE error code in case of forbidden submission.

OC-21537

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant