Description of problem: The way of creating Service Orders with multiple service requests described in documentation [1] fails with "no implicit conversion of Symbol into Integer" error. [1] http://manageiq.org/docs/reference/latest/api/reference/service_orders#creating-service-orders That's the only way of creating a shopping cart described in the documentation. This problem can be workarounded by creating and empty cart: POST /api/service_orders { "action": "create", "name": "cart" } and then adding service requests using the "add" action. Version-Release number of selected component (if applicable): 5.8 How reproducible: very Steps to Reproduce: POST /api/service_orders { "service_requests" : [ { "service_template_href" : "https://<address>/api/service_templates/:id" } ] } response: { "error": { "kind": "internal_server_error", "message": "no implicit conversion of Symbol into Integer", "klass": "TypeError" } }
PR: https://github.com/ManageIQ/manageiq-api/pull/115
Verified using POST /api/service_orders { "service_requests" : [ { "service_template_href" : "https://<address>/api/service_templates/:id" } ] }
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0380