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.