nihad640 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

DateItem not working as expected with Smart GWT 3.0p 20130416 #714

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a form with a DateItem
2. Launch the app
3. Open the date picker
4. Click on a date

What is the expected output? What do you see instead?
expected after step 2: should see the form elements for day, 
month and year.
actual after step 2: no field for day, month and year is shown.
expected after step 4: date should be set in the form fields.
actual after step 4: Uncaught JavaScript exception [TypeError: _1.charAt is not 
a function]

What version of the product are you using? On what operating system?
Using Smart GWT 3.0p from 20130416 and GWT 2.5.1

What browser(s) does this happen in?
Firefox 20
Chrome 26
IE 8 and 9

Are there any browsers where the issue does not occur?
-

Please provide any additional information below:
Works as expected in Smart GWT 3.1p 20130416
Works as expected in Smart GWT 2.5p 20130416

TestCase:
public void onModuleLoad() {
DynamicForm form = new DynamicForm();
    form.setWidth(400);
    DateItem dateItem = new DateItem("date", "Date");
    form.setFields(dateItem);
    form.draw();
}

Original issue reported on code.google.com by glooo.de...@gmail.com on 17 Apr 2013 at 12:27

GoogleCodeExporter commented 9 years ago
This is related to using the latest language packs, which 3.0 was not updated 
to support.  

This is now fixed for tomorrow's nightly builds, however, you should update to 
the latest version as soon as possible.  Considering 4.0 is in final beta, 3.0 
is about to be 2 versions out of date.

Original comment by smartgwt...@gmail.com on 19 Apr 2013 at 4:11

GoogleCodeExporter commented 9 years ago
Thank you for your response, but currently I can not find the new version for 
3.0p.

The last one available at http://smartclient.com/builds/SmartGWT/3.0p/LGPL is 
2013-04-18  (a day before your post).

I'll check this tomorrow again.

Original comment by glooo.de...@gmail.com on 22 Apr 2013 at 1:26

GoogleCodeExporter commented 9 years ago
There is still no new version for 3.0p (and upgrading is not possible at the 
moment).

So for me the problem is still not fixed.

Original comment by glooo.de...@gmail.com on 24 Apr 2013 at 6:08