myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Mahoney (JIRA)" <...@myfaces.apache.org>
Subject [jira] Reopened: (TOMAHAWK-964) Seconds are random when input via <t:inputDate ... type="short_time">
Date Thu, 16 Aug 2007 08:51:30 GMT

     [ https://issues.apache.org/jira/browse/TOMAHAWK-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Peter Mahoney reopened TOMAHAWK-964:
------------------------------------


When the type is "short_time" then the seconds value is not set in the decode. This means
that if the backing bean has a null date value, then the seconds value will be null in the
UserData. This causes a NumberFormatException when executing:

	            		tempCalendar.set(Calendar.SECOND,Integer.parseInt(seconds));

> Seconds are random when input via  <t:inputDate ... type="short_time"> 
> -----------------------------------------------------------------------
>
>                 Key: TOMAHAWK-964
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-964
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Date
>    Affects Versions: 1.1.4-SNAPSHOT, 1.1.5
>            Reporter: Paul Spencer
>            Assignee: Cagatay Civici
>             Fix For: 1.1.7-SNAPSHOT
>
>
> The value for seconds is random when input via  value is set via <t:inputDate ...
type="short_time">.  The expectation is the second will be the same a the seconds passed
in via the value of <t:inputDate>.
> It appears the seconds match the system clock when the value is set.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message