[
https://issues.apache.org/jira/browse/TOMAHAWK-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905563#action_12905563
]
Denis A. edited comment on TOMAHAWK-1544 at 9/2/10 12:06 PM:
-------------------------------------------------------------
Core12 version is broken too, the provided patch does not address this one
was (Author: dangi):
Core12 version is broken, in the same way too, the provided patch does not
address this one
> org.apache.myfaces.custom.date.HtmlDateRenderer.encodeEnd() broken
> ------------------------------------------------------------------
>
> Key: TOMAHAWK-1544
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1544
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Date
> Affects Versions: 1.1.9
> Reporter: Denis A.
> Attachments: TOMAHAWK-1544_bugfix_patch.txt
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> the problem is in the decoding of date:
> if (token.startsWith("year="))
> {
> userData.setYear(token.substring(5));
> }
> if (token.startsWith("month="))
> {
> userData.setYear(token.substring(6));
> }
> if (token.startsWith("day="))
> {
> userData.setYear(token.substring(4));
> .....
> userData.setYear() is called for each case, while it should be setMonth(),
> setDay() and so on.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.