https://github.com/ManageIQ/manageiq/pull/17892
$ cat /tmp/data { "server": { "name": "Test Name", "zone": "de fault"}} $ curl -k https://10.8.197.222/api/servers/1/settings -u admin:smartvm --data @/tmp/data -XPATCH {"error":{"kind":"bad_request","message":"Settings validation failed - server-zone: zone, \"de fault\", invalid. Should be a valid Zone","klass":"Api::BadRequestError"}}% It seems like this has been fixed, but I would first like to reproduce this problem.
(In reply to Jaroslav Henner from comment #11) > $ cat /tmp/data > { "server": { "name": "Test Name", "zone": "de fault"}} > > $ curl -k https://10.8.197.222/api/servers/1/settings -u admin:smartvm > --data @/tmp/data -XPATCH > {"error":{"kind":"bad_request","message":"Settings validation failed - > server-zone: zone, \"de fault\", invalid. Should be a valid > Zone","klass":"Api::BadRequestError"}}% > > It seems like this has been fixed, but I would first like to reproduce this > problem. In 5.10.0.8 I am allowed to change the zone to something invalid. But it doesn't seem to cause a change in the Web-UI ( I can still see Zone: default there) nor it does seem to cause any problems with CFME connectivity. So I couldn't fully reproduce, but new behaviour (forbiding setting to invalid zone) should prevent the problems, so VERIFIED.