[API] PUT/PATCH requests not updating instrument flags #7916
Labels
24.0.0-bugs
Issues or bug fix PRs that were raised during the testing of release 24.0.0
Area: API
PR or issue related to the API
Category: Bug
PR or issue that aims to report or fix a bug
Module: api
PR or issue related to api module
Milestone
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:
/candidates/{candid}/{visit}/instruments/{instrument}/flags
/candidates/{candid}/{visit}/instruments/{instrument}/flags
/candidates/{candid}/{visit}/instruments/{instrument}/dde/flags
/candidates/{candid}/{visit}/instruments/{instrument}/dde/flags
To Reproduce
/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.
The text was updated successfully, but these errors were encountered: