Bug 1485424 - Invalid "href" value in "versions" when API version is specified
Summary: Invalid "href" value in "versions" when API version is specified
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: Jillian Tullo
QA Contact: Martin Kourim
URL:
Whiteboard: api:rest
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-25 16:14 UTC by Martin Kourim
Modified: 2018-03-14 14:54 UTC (History)
6 users (show)

Fixed In Version: 5.9.0.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-01 13:16:22 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 0 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 18:37:12 UTC

Description Martin Kourim 2017-08-25 16:14:16 UTC
Description of problem:
Invalid "href" value in "versions" when API version is specified:

"versions": [
        {
            "name": "2.4.0",
            "href": "https://10.8.196.108/api/v2.4.0/v2.4.0"
        }
    ],

The "https://10.8.196.108/api/v2.4.0/v2.4.0" doesn't exist.


Version-Release number of selected component (if applicable):
5.8.1.5


How reproducible:
very


Steps to Reproduce:
1. GET /api/v2.4.0/


Expected results:
"href": "https://10.8.196.108/api/v2.4.0

Comment 2 Dave Johnson 2017-09-18 16:58:28 UTC
Martin, is there any impact to automation from this?  If so, please add PrioBumpQA keyword above.

Comment 3 Jillian Tullo 2017-09-28 19:35:39 UTC
PR: https://github.com/ManageIQ/manageiq-api/pull/87

Comment 4 Martin Kourim 2017-10-17 20:09:03 UTC
Verified that the "href" value is valid when API version is specified
GET /api/v3.0.0-pre

Comment 7 errata-xmlrpc 2018-03-01 13:16:22 UTC
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


Note You need to log in before you can comment on or make changes to this bug.