sgn
sgn copied to clipboard
Edit Geo Field Layout not working in sweetpotatobase
Expected Behavior
For Bugs:
Console errors
Failed to load resource: the server responded with a status of 500 (Internal Server Error) /brapi/v2/search/observationunits:1
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 4 column 1 of the JSON data
Server error log error:
[error] Caught exception in SGN::Controller::AJAX::BrAPI->observation_units_search_save "Can't use string ("plot") as an ARRAY ref while "strict refs" in use at lib/CXGN/BrAPI/v2/ObservationUnits.pm line 81
Environment
On sweetpotatobase. Trying to edit geo field layout here: https://sweetpotatobase.org/tools/fieldmap?trial_id=4866