Diogo Monteiro created CLOUDSTACK-8193:
------------------------------------------
Summary: ID filter not working for listNetworkACLs end-point
Key: CLOUDSTACK-8193
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8193
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Environment: Encounter the issue in a cloudstack 4.2.1 environment.
Reporter: Diogo Monteiro
When setting the ID filter in the request for the listNetworkACLs end-point an
error is being returned back.
Steps to reproduce:
#1 Make a request to the listNetworkACLs end-point setting the ID filter
http://cs42.dev.cloud:8096?aclid=363c7f5a-13a7-4117-8603-a19e28726b04&apiKey=j-DKJIkURhA2G4H0vg3Tba-a75SasolsL8sRZbEAxKlq-AihyVElV7dhaAMjf-jOTOwzu8zEoKb-2krJjr8r3Q&command=listNetworkACLs&id=c006ccc8-6c56-4387-9fd1-b53f0536fd58&response=json&signature=m2uyZDZsbDB%2FMezwjZEdeuRn0No%3D
Results:
Exception is returned as part of the response:
"listnetworkaclsresponse": {
"uuidList": [],
"errorcode": 431,
"cserrorcode": 9999,
"errortext": "Unable to execute API command listnetworkacls due to
invalid value. Invalid parameter id value=c006ccc8-6c56-4387-9fd1-b53f0536fd58
due to incorrect long value format, or entity does not exist or due to
incorrect parameter annotation for the field in api cmd class."
}
Expected results:
A single networkACL object matching the ID filter should be returned.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)