You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (JIRA)" <ji...@apache.org> on 2011/04/13 23:18:06 UTC
[jira] [Resolved] (WICKET-3569) DateField is broken
[ https://issues.apache.org/jira/browse/WICKET-3569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Ertl resolved WICKET-3569.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5-RC4
Assignee: Peter Ertl
> DateField is broken
> -------------------
>
> Key: WICKET-3569
> URL: https://issues.apache.org/jira/browse/WICKET-3569
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-RC2
> Reporter: Jim Larsen
> Assignee: Peter Ertl
> Fix For: 1.5-RC4
>
>
> org.apache.wicket.extensions.yui.calendar.DateField
> When submitting form with empty date field (null date in model), the model is set to current date.
> dateField.getModelObject() return currentDate
> dateField.getDate() returns null.
> This is a major problem ie in a CompoundPropertyModel where all null dates will be set to currentDate.
> Using a DateTextField and adding a DatePicker to this, does not have same problem.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira