Bug 1295679 - better error messages for beanvalidation validation failures.
Summary: better error messages for beanvalidation validation failures.
Keywords:
Status: CLOSED DUPLICATE of bug 1295678
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Infra
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Oved Ourfali
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-05 08:38 UTC by Martin Mucha
Modified: 2016-01-05 09:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-05 09:47:04 UTC
oVirt Team: ---
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Martin Mucha 2016-01-05 08:38:25 UTC
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.

Comment 1 Yaniv Kaul 2016-01-05 09:05:36 UTC
Dup of bug 1295678 ?

Comment 2 Martin Mucha 2016-01-05 09:47:04 UTC
yes. (bugzilla bug when creating new bug)

*** This bug has been marked as a duplicate of bug 1295678 ***


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