dmwm / DMWMMON

1 stars 8 forks source link

Misleading output for missing nodes in storageinsert API. #16

Open nataliaratnikova opened 9 years ago

nataliaratnikova commented 9 years ago

If node is missing in t_adm_node table, the API seems to produce different error depending on the user privilege status, two examples below for a node not in the table:

[1] upload parameter: node ==> T2_PL_Swierk total number of records: 14 Error from server 400(Bad Request), output below: %HTTP-ERROR%#400#Unknown node.\n exiting after failure

[2] total number of records: 1493 Error from server 400(Bad Request), output below: You are not authorised to approve data to node T2_PL_Swierk.\n exiting after failure