You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Paul Spencer (JIRA)" <de...@myfaces.apache.org> on 2007/04/12 22:57:15 UTC
[jira] Created: (TOMAHAWK-964) Seconds are random when input via
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
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.
[jira] Resolved: (TOMAHAWK-964) Seconds are random when input via
Posted by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Mahoney resolved TOMAHAWK-964.
------------------------------------
Resolution: Fixed
> 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.
[jira] Reopened: (TOMAHAWK-964) Seconds are random when input via
Posted by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org>.
[ 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.
[jira] Resolved: (TOMAHAWK-964) Seconds are random when input via
Posted by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cagatay Civici resolved TOMAHAWK-964.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.6-SNAPSHOT
> 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
> Assigned To: Cagatay Civici
> Fix For: 1.1.6-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.