Bug 1265716 - Icons related validation not strict enough
Summary: Icons related validation not strict enough
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-3.6.0-ga
: 3.6.0
Assignee: jniederm
QA Contact: Karolína Hajná
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-23 14:11 UTC by jniederm
Modified: 2016-05-20 01:23 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-27 07:55:30 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 46587 0 None None None Never
oVirt gerrit 46617 0 ovirt-engine-3.6 MERGED restapi: Fix condition in "IconHelper" Never
oVirt gerrit 46829 0 refs/tags/ovirt-engine-3.6.0 ABANDONED restapi: Fix condition in "IconHelper" Never
oVirt gerrit 46830 0 ovirt-engine-3.6.0 MERGED restapi: Fix condition in "IconHelper" Never

Description jniederm 2015-09-23 14:11:17 UTC
Description of problem:
Meaningless request

PUT /api/vms/{id}
<vm>
    <small_icon />
</vm>

is accepted.

Version-Release number of selected component (if applicable):
3.6 branch, commit 5ef7702

How reproducible:
100%

Steps to Reproduce:
1. Make following request as admin user
PUT /api/vms/{id}
<vm>
    <small_icon />
</vm>


Actual results:
200 ok

Expected results:
400 bad requst

Comment 1 Karolína Hajná 2015-11-13 10:14:02 UTC
Verified on ovirt-engine-3.6.0.3-1.el6.noarch

Comment 2 Sandro Bonazzola 2015-11-27 07:55:30 UTC
Since oVirt 3.6.0 has been released, moving from verified to closed current release.


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