You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Heiko Stein (JIRA)" <de...@myfaces.apache.org> on 2007/09/27 11:56:50 UTC
[jira] Created: (TOMAHAWK-1123) s:convertNumber conversion errors
with INFO level reported
s:convertNumber conversion errors with INFO level reported
----------------------------------------------------------
Key: TOMAHAWK-1123
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1123
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Converters
Affects Versions: 1.1.7-SNAPSHOT
Environment: myfaces 1.1.5, tomahawk 1.1.5, sandbox 1.1.7-Snapshot, on Tomcat 5.5, German locale
Reporter: Heiko Stein
If you enter invalid numbers in input fields with an attached s:convertNumber converter, the conversion errors will be reported with severity level INFO (within the faces context message list). Default behaviour of Sun RI and even s:convertDateTime is ERROR level severity. The wrong severity classification leads to futher errors in other frameworks, in some cases supressing the error messages in the gui, so a quick fix might be helpful.
I suppose the wrong version of the method MessageUtils.getMessage() is called in org.apache.myfaces.custom.convertNumber.TypedNumberConverter (line 165)
throw new ConverterException(MessageUtils.getMessage(facesContext,CONVERSION_MESSAGE_ID,new Object[]{uiComponent.getId(),value}), e);
Since there is no severity given, default level INFO will be taken.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TOMAHAWK-1123) s:convertNumber conversion errors
with INFO level reported
Posted by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cagatay Civici resolved TOMAHAWK-1123.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.7-SNAPSHOT
> s:convertNumber conversion errors with INFO level reported
> ----------------------------------------------------------
>
> Key: TOMAHAWK-1123
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1123
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Converters
> Affects Versions: 1.1.7-SNAPSHOT
> Environment: myfaces 1.1.5, tomahawk 1.1.5, sandbox 1.1.7-Snapshot, on Tomcat 5.5, German locale
> Reporter: Heiko Stein
> Assignee: Cagatay Civici
> Fix For: 1.1.7-SNAPSHOT
>
>
> If you enter invalid numbers in input fields with an attached s:convertNumber converter, the conversion errors will be reported with severity level INFO (within the faces context message list). Default behaviour of Sun RI and even s:convertDateTime is ERROR level severity. The wrong severity classification leads to futher errors in other frameworks, in some cases supressing the error messages in the gui, so a quick fix might be helpful.
> I suppose the wrong version of the method MessageUtils.getMessage() is called in org.apache.myfaces.custom.convertNumber.TypedNumberConverter (line 165)
> throw new ConverterException(MessageUtils.getMessage(facesContext,CONVERSION_MESSAGE_ID,new Object[]{uiComponent.getId(),value}), e);
> Since there is no severity given, default level INFO will be taken.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.