dlr-eoc / prosEO

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

CLI: Issue error message if complex attribute change attempted from command line #101

Open tangobravo62 opened 3 years ago

tangobravo62 commented 3 years ago

As the help text states, complex attributes (i. e. attributes representing other objects) cannot be updated directly through the command line using the "=" syntax. Since it is difficult to guess, for which attributes this is the case, and since listing the allowed attributes in the help text is not very readable and error prone in the case of changes, a readable error message shall be issued once the error occurred (during parsing or when calling the REST interface of the service).

For the service this requires that the service returns a readable error message, see issue #94.