You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strictly speaking, an empty bands array is allowed/valid in load_collection, the schema doesn't set minItems to 1: https://github.com/Open-EO/openeo-processes/blob/draft/load_collection.json#L164
So I'm moving this over to openeo-processes so that we can fix it there. Once minItems is set to 1, the Editor should handle it correctly (but I'll verify it after fixing it here).
m-mohr
transferred this issue from Open-EO/openeo-web-editor
Jun 6, 2022
m-mohr
changed the title
Don't allow creation of empty bands object with editor in load collection process
Don't allow creation of empty bands array in load_collection (and other places)
Jun 27, 2022
Currently it's possible to created
bands: []
with the editor resulting into a not valid PG being send to the backend.I think it either shouldn't be allowed to construct an empty array with the editor or set it to
null
in such a case.The text was updated successfully, but these errors were encountered: