Created attachment 1307535 [details] logs Description of problem: Incorrect error message while creating network with name above 256 characters via REST API Version-Release number of selected component (if applicable): ovirt-engine-4.2.0-0.0.master.20170731224404.git1758643.el7.centos.noarc How reproducible: 100 Steps to Reproduce: 1. create a network name with more than 256 characters via REST Actual results: <fault> <detail>[Internal Engine Error]</detail> <reason>Operation Failed</reason> </fault> Expected results: We expect to correct error Additional info: We send: <network> <name> io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_ne t__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_n et__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_net__io_ </name> <usages/> <vlan/> <data_center id="<dc id>"/> </network>
Verified on - 4.1.6-0.1.el7 <fault> <detail>[size must be between 0 and 256, Attribute: network.name]</detail> <reason>Operation Failed</reason> </fault>