Bug 1265716

Summary: Icons related validation not strict enough
Product: [oVirt] ovirt-engine Reporter: jniederm
Component: RestAPIAssignee: jniederm
Status: CLOSED CURRENTRELEASE QA Contact: Karolína Hajná <khajna>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: bugs, gklein, juan.hernandez, khajna, pstehlik
Target Milestone: ovirt-3.6.0-gaFlags: rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-27 07:55:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.