Closed Mortalife closed 6 years ago
There is an issue with the certificateMappingList() object as it does not correct populate a CertificateMapping Resource due to the API returning CertificateMapping information wrapped in a "certificateMapping" object.
Response: { "certificateMappings": [ { "certificateMapping": { "id": 123, "hostName": "rackspace.com" } }, { "certificateMapping": { "id": 124, "hostName": "*.rackspace.com" } } ] }
{ "certificateMappings": [ { "certificateMapping": { "id": 123, "hostName": "rackspace.com" } }, { "certificateMapping": { "id": 124, "hostName": "*.rackspace.com" } } ] }
PHP Resource expected the following to correctly populate the object: { "certificateMappings": [ { "id": 123, "hostName": "rackspace.com" }, { "id": 124, "hostName": "*.rackspace.com" } ] }
{ "certificateMappings": [ { "id": 123, "hostName": "rackspace.com" }, { "id": 124, "hostName": "*.rackspace.com" } ] }
There is an issue with the certificateMappingList() object as it does not correct populate a CertificateMapping Resource due to the API returning CertificateMapping information wrapped in a "certificateMapping" object.
Response:
{ "certificateMappings": [ { "certificateMapping": { "id": 123, "hostName": "rackspace.com" } }, { "certificateMapping": { "id": 124, "hostName": "*.rackspace.com" } } ] }
PHP Resource expected the following to correctly populate the object:
{ "certificateMappings": [ { "id": 123, "hostName": "rackspace.com" }, { "id": 124, "hostName": "*.rackspace.com" } ] }