[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2788) Improve error handling in entity converter to facilitate resolving "value is not valid"
Kariem Hussein (JIRA)
jira-events at lists.jboss.org
Fri Mar 28 08:56:40 EDT 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-2788?page=comments#action_12405381 ]
Kariem Hussein commented on JBSEAM-2788:
----------------------------------------
Two reasons why the message should be logged:
- This error is caused by a mistake during development and should not be treated as recoverable application error.
- It is possible that the validation is not displayed, because the entity converter is used in a UI component separate from validation error handling.
> Improve error handling in entity converter to facilitate resolving "value is not valid"
> ---------------------------------------------------------------------------------------
>
> Key: JBSEAM-2788
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2788
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: JSF Controls
> Affects Versions: 2.1.0.A1
> Reporter: Kariem Hussein
>
> When using <s:convertEntity/> it is sometimes possible that a validation error occurs (documented in http://www.seamframework.org/Documentation/IGetValueIsNotAValidOptionWhenUsingSselectItemsAndSconvertEntityOrACustomConverter). This error results in the validation message "value is not valid", which does not sufficiently indicate the reason for the problem.
> Please provide the following improvements
> a- log a message to WARN (or ERROR)
> b- provide information on the component which caused this error
> c- provide information on the converter that caused this error
> d- if possible, provide information on the involved entity manager
--
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