dlr-eoc / prosEO

prosEO – A Processing System for Earth Observation Data
GNU General Public License v3.0
14 stars 1 forks source link

CLI: Confusing behaviour on illegal attempt to change key attributes #132

Closed tangobravo62 closed 3 years ago

tangobravo62 commented 3 years ago

The CLI currently returns misleading messages when trying to update the key attribute of an object. Some examples:

prosEO (NM4T)> orbit update NM4T_Spacecraft_1 1234 orbitNumber=12345
(E2854) Orbit number 12345 not found for spacecraft NM4T_Spacecraft_1

Attempts to change key attributes should be recognized and rejected as such with an explanatory message.

tangobravo62 commented 3 years ago

Closed as duplicate of #102