Description of problem: currently, if big transfer object (*Parameters) is validated, only the message of failure is rendered to the user. That is description of failing field. However if given transfer object forms along aggregations a deep tree, it would be better if better identification of failing field is provided. Imagine *Parameters class, which aggregates 20 another bean in collection; it'd be better if failing bean is identified. Each ConstraintViolation instance has propertyPath exactly identifying record containing failing field. We can somehow use this information and present it to the user.
*** Bug 1295679 has been marked as a duplicate of this bug. ***
CodeChange? If not, please provide repro steps to QE, thank you.
As said in description, this RFE improves user messages, which should help to developer recognize the problem. When user for example added new NIC to VM, which didn't passed validation, he used to see this message: - Name must be formed of alphanumeric characters, numbers or "-_.". This RFE improves the message so the developer knows where the validation fails: - Name must be formed of alphanumeric characters, numbers or "-_.". - Attribute: nic.name This new message format should be visible in UI, API and logs. So to test, QE should try some commands which will fail and check whether this new format message appears appropriately and properly.
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.
Verified on: rhevm.noarch 4.1.0.2-0.1.el7