]> source.dussan.org Git - vaadin-framework.git/commit
Fixed an NPE while changing a DateField from 24 to 12h clock (#13722)
authorTeemu Pòˆntelin <teemu@vaadin.com>
Thu, 22 May 2014 18:22:09 +0000 (21:22 +0300)
committerVaadin Code Review <review@vaadin.com>
Wed, 18 Jun 2014 06:23:43 +0000 (06:23 +0000)
commit26f74f5b45dc5d7c2646b792d1ac12851eed1285
tree60d30db54dd6fc9bd3c91496c3342cceeb289c73
parent3200aecd5d7c55aadc3142025221b4cc87bd2e22
Fixed an NPE while changing a DateField from 24 to 12h clock (#13722)

A client-side NullPointerException was fixed by not reusing
the existing VTime panel and always recreating it instead.
Otherwise the ListBox for switching between AM/PM might have
been null.

Change-Id: I8d54d91627043a12b52ac5d5e54d6f7a729af1ac
client/src/com/vaadin/client/ui/VCalendarPanel.java
uitest/src/com/vaadin/tests/components/datefield/LocaleChange.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/datefield/LocaleChangeTest.java [new file with mode: 0644]