----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/10159/ -----------------------------------------------------------
Review request for cloudstack, mice xia and Min Chen. Description ------- Replacing db id by uuid of the domain in exception message. This addresses bug CLOUDSTACK-1675. Diffs ----- server/src/com/cloud/user/AccountManagerImpl.java b69f314 Diff: https://reviews.apache.org/r/10159/diff/ Testing ------- With the changes in place, a listVMSnapshot command sent in with an invalid account id now returns the uuid of the domain in the response: # curl --request GET 'http://10.223.76.20:8096/client/api?command=listVMSnapshot&listAll=true&account=c896cef6-2e69-47cd-8bdb-9f963b4053d8&domainid=26481c20-96f8-11e2-afa5-000c29db3315&response=json' { "listvmsnapshotresponse" : {"errorcode":431,"cserrorcode":4350,"errortext":"could not find account c896cef6-2e69-47cd-8bdb-9f963b4053d8 in domain 26481c20-96f8-11e2-afa5-000c29db3315"} } # Thanks, Venkata Siva Vijayendra Bhamidipati