Bug 1466781 - Missing href attributes in some REST entry points
Summary: Missing href attributes in some REST entry points
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.1.3.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.0
: 4.2.0
Assignee: Ori Liel
QA Contact: Radim Hrazdil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-30 12:32 UTC by Christophe Fergeau
Modified: 2019-04-28 13:42 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:46:32 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 81376 0 master POST Fix Hrefs For Inline Collections 2017-09-03 11:26:43 UTC

Description Christophe Fergeau 2017-06-30 12:32:33 UTC
In /api/storagedomains, there is a <data_centers> node without href attributes:

<data_centers>
    <data_center id="00000001-0001-0001-0001-000000000311"/>
</data_centers>

There is a similar issue in /api/vms with the <hosts> node:

<hosts>
    <host id="7620720b-eb29-4905-b5e8-c9b00ddb1e47"/>
</hosts>

Comment 2 Ori Liel 2017-09-06 07:55:44 UTC
Patch posted: 

  https://gerrit.ovirt.org/#/c/81376/

Comment 3 Radim Hrazdil 2017-11-16 12:19:14 UTC
Verified that all <data_center> nodes have href attribute. Version 4.2.0-0.0.master.20171108151837.gita7de53e.el7.centos.

Comment 4 Sandro Bonazzola 2017-12-20 11:46:32 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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