[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1121) exception instantiating model validator is very difficult to debug

Gavin King (JIRA) jira-events at lists.jboss.org
Mon May 21 13:56:52 EDT 2007

     [ http://jira.jboss.com/jira/browse/JBSEAM-1121?page=all ]

Gavin King closed JBSEAM-1121.

    Fix Version/s: 1.3.0.BETA1
       Resolution: Done
         Assignee: Gavin King

fixed in CVS

> exception instantiating model validator is very difficult to debug
> ------------------------------------------------------------------
>                 Key: JBSEAM-1121
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1121
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF
>    Affects Versions: 1.2.1.GA
>            Reporter: Keith Naas
>         Assigned To: Gavin King
>             Fix For: 1.3.0.BETA1
> Within the ModelValidator, if an exception is thrown while validating the value, the original exception is neither nested in the ValidatorException nor is it logged.  It turns out that one of our validators was causing the Hibernate validator to throw an IllegalArgumentException.  We have since fixed it, but we would like to see the code changed in the ModelValidator to make it a bit easier to debug in the future..
>       catch (Exception e)
>       {
>          throw new ValidatorException( new FacesMessage(FacesMessage.SEVERITY_ERROR, "model validation failed:" + e.getMessage(), null) );
>       }

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list