-
Notifications
You must be signed in to change notification settings - Fork 183
Open
Labels
24.0.0-bugsIssues or bug fix PRs that were raised during the testing of release 24.0.0Issues or bug fix PRs that were raised during the testing of release 24.0.0Area: APIPR or issue related to the APIPR or issue related to the APICategory: BugPR or issue that aims to report or fix a bugPR or issue that aims to report or fix a bugModule: apiPR or issue related to api modulePR or issue related to api module
Milestone
Description
Describe the bug
Both the PUT and PATCH requests used to update an instrument's flag values (and DDE flag values) are returning internal server errors and not correctly updating the values
The 4 requests in question are:
- PUT
/candidates/{candid}/{visit}/instruments/{instrument}/flags
- PATCH
/candidates/{candid}/{visit}/instruments/{instrument}/flags
- PUT
/candidates/{candid}/{visit}/instruments/{instrument}/dde/flags
- PATCH
/candidates/{candid}/{visit}/instruments/{instrument}/dde/flags
To Reproduce
- Go to the API Documentation module and scroll down to any of the above commands
- Click on "Try it out" and enter a CandID, visit label, and instrument name. You can use the above GET requests to get a candidate and the list of their visits and instruments
- Fill in the request body with the flag data you would like to update
- Click on "Execute" and see internal server error
- Go to the GET request
/candidates/{candid}/{visit}/instruments/{instrument}/flags
(right above the PUT request) and insert the same CandID, visit label, and instrument. Execute and see that the flag data was not updated.
What did you expect to happen?
The flag information for that candidate's instrument should be updated and there should be no error.
Metadata
Metadata
Assignees
Labels
24.0.0-bugsIssues or bug fix PRs that were raised during the testing of release 24.0.0Issues or bug fix PRs that were raised during the testing of release 24.0.0Area: APIPR or issue related to the APIPR or issue related to the APICategory: BugPR or issue that aims to report or fix a bugPR or issue that aims to report or fix a bugModule: apiPR or issue related to api modulePR or issue related to api module
Type
Projects
Status
No status