Closed AndreiD closed 6 years ago
updating the location with (I presume, invalid data) will empty the location's data.
Steps to reproduce:
PUT ON: {{server_addr}}/cpo/location/0x35312e3433333031322c372e3030343139
"PUT Request Returned >>> Location object not valid. Ensure location follows the OCPI model"
GET locations return ->
[ { "scId": "0x35312e3433333031322c372e3030343139", "data": { "scId": "", "data": { "id": "", "type": "", "name": "", "address": "", "city": "", "postal_code": "", "country": "", "coordinates": { "latitude": "", "longitude": "" }, "evses": null } } } ]
Strange, it really shouldn't do this! I will look into it
should now be fixed in 0.8.2 / latest commit
updating the location with (I presume, invalid data) will empty the location's data.
Steps to reproduce:
PUT ON: {{server_addr}}/cpo/location/0x35312e3433333031322c372e3030343139
"PUT Request Returned >>> Location object not valid. Ensure location follows the OCPI model"
GET locations return ->