wcx6298 / smartgwt

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

DynamicForm setValue(fieldName, Date) breaks if date is null #595

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SmartGwt v2.4

What steps will reproduce the problem?
1. Set a null value for date type in dynamic form    
      DyanmicForm dform = new DynamicForm();
      Date d = null;
      dform.setValue("dateField", d);

2. try loading the page. An exception is thrown.

What is the expected output? What do you see instead?
Exception is thrown. Think null dates are not handled.

What version of the product are you using? On what operating system?
v2.4 community version

What browser(s) does this happen in?  Are there any browsers where the
issue does not occur?
firefox, ie6

Please provide any additional information below.
Think the date is not handled properly. Cant comment more as i cant debug jsni.

Original issue reported on code.google.com by sandeep....@gmail.com on 14 Jun 2011 at 9:05

GoogleCodeExporter commented 9 years ago
Note: this doesnt happen for string values.. seems like its specific to date.

Original comment by sandeep....@gmail.com on 14 Jun 2011 at 9:11

GoogleCodeExporter commented 9 years ago
Invalid, test case produces no results and no error.  Please provide a test 
case that has been tried against the latest nightly and the issue will be 
marked valid again.

Original comment by smartgwt...@gmail.com on 14 Jun 2011 at 5:16