You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Raphael A BEREHOUDOUGOU (JIRA)" <de...@myfaces.apache.org> on 2006/03/14 11:29:20 UTC
[jira] Created: (MYFACES-1174) convertDateTime does not support
Lenient Attribute
convertDateTime does not support Lenient Attribute
---------------------------------------------------
Key: MYFACES-1174
URL: http://issues.apache.org/jira/browse/MYFACES-1174
Project: MyFaces Core
Type: Bug
Environment: Myfaces 1.1.1, WebLogic 8.1 SP4
Reporter: Raphael A BEREHOUDOUGOU
Priority: Critical
The <convertDateTime > tag uses the default settings for DateFormat , in particular, it does not support setting Lenient to TRUE or FALSE. This results in undesired behaviour as in : The user inputs 14-13-2006 for the date pattern dd-MM-yyyy and then the following is displayed : 14-01-2007 instead of an exception being thrown for invalid Month of year.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (MYFACES-1174) convertDateTime does not support
Lenient Attribute
Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-1174?page=all ]
Mike Kienenberger closed MYFACES-1174:
--------------------------------------
Resolution: Cannot Reproduce
I don't see this issue on either the javax.faces.convert.DateTimeConverter or the sandbox version.
Both work as expected, throwing a conversion error if you use an invalid month.
> convertDateTime does not support Lenient Attribute
> ---------------------------------------------------
>
> Key: MYFACES-1174
> URL: http://issues.apache.org/jira/browse/MYFACES-1174
> Project: MyFaces Core
> Type: Bug
> Environment: Myfaces 1.1.1, WebLogic 8.1 SP4
> Reporter: Raphael A BEREHOUDOUGOU
> Assignee: Mike Kienenberger
> Priority: Critical
>
> The <convertDateTime > tag uses the default settings for DateFormat , in particular, it does not support setting Lenient to TRUE or FALSE. This results in undesired behaviour as in : The user inputs 14-13-2006 for the date pattern dd-MM-yyyy and then the following is displayed : 14-01-2007 instead of an exception being thrown for invalid Month of year.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-1174) convertDateTime does not support
Lenient Attribute
Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-1174?page=comments#action_12370364 ]
Mike Kienenberger commented on MYFACES-1174:
--------------------------------------------
Strange. This was supposedly already fixed on Aug 5th, 2005 in MYFACES-459
The behavior should already be lenient=false.
I see that Martin also fixed leniency behavior explicitly on Feb 12,2006 for HtmlCalendarRenderer.
> convertDateTime does not support Lenient Attribute
> ---------------------------------------------------
>
> Key: MYFACES-1174
> URL: http://issues.apache.org/jira/browse/MYFACES-1174
> Project: MyFaces Core
> Type: Bug
> Environment: Myfaces 1.1.1, WebLogic 8.1 SP4
> Reporter: Raphael A BEREHOUDOUGOU
> Priority: Critical
>
> The <convertDateTime > tag uses the default settings for DateFormat , in particular, it does not support setting Lenient to TRUE or FALSE. This results in undesired behaviour as in : The user inputs 14-13-2006 for the date pattern dd-MM-yyyy and then the following is displayed : 14-01-2007 instead of an exception being thrown for invalid Month of year.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira