Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364276

Summary: [MVC] DD nullable timestamp/date values to handler will lead to error page
Product: z_Archived Reporter: Thomas Wu <wxwu>
Component: EDTAssignee: Huang Ji Yong <hjiyong>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hjiyong, jinfahua, jspadea, lulu, svihovec, xiaobinc
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
nullable timestamp and date
none
Fix
none
error message
none
Fix for the regression none

Description Thomas Wu CLA 2011-11-21 04:46:26 EST
Build Identifier: 20111120

There is no such issue in RBD.
Declare timestamp and date variable without initial values. Then DD them into handler. The page will show with some errors.


Reproducible: Always

Steps to Reproduce:
1.New a handler.
2.Declare timestamp and date variables without initial values. For example,
    t1 timestamp?;
    d1 date?;
3.Drag and Drop those variables from data view to handler.

Actual results: There are some errors reporting in page.
Comment 1 Thomas Wu CLA 2011-11-21 04:49:28 EST
Created attachment 207290 [details]
nullable timestamp and date
Comment 2 Jing Qian CLA 2011-11-21 15:13:28 EST
deferred
Comment 3 Huang Ji Yong CLA 2011-12-14 00:35:10 EST
Created attachment 208363 [details]
Fix
Comment 4 Huang Ji Yong CLA 2011-12-14 00:37:36 EST
This is a widget defect. When the value is null, the DojoDateTextBox and DojoTimeTextBox will throw error. Make them display empty value instead of error.
Comment 5 Thomas Wu CLA 2012-01-18 10:23:22 EST
There are error messages in page after drag & drop those variables from data view to handler. Please refer to screenshot.
Comment 6 Thomas Wu CLA 2012-01-18 10:26:35 EST
Created attachment 209681 [details]
error message
Comment 7 Huang Ji Yong CLA 2012-02-09 21:09:09 EST
Cannot reproduce since the fix has been applied.
Please check in the new build.
Comment 8 Thomas Wu CLA 2012-02-23 00:30:07 EST
The issue is still exist in IE/Chrome, so reopen it. I tried in build of 20120219.
Comment 9 fahua jin CLA 2012-02-24 01:24:06 EST
Set the target milestone to I3, because I2 has already finished.
Comment 10 Huang Ji Yong CLA 2012-02-26 20:12:01 EST
Created attachment 211648 [details]
Fix for the regression

Lulu, please help review
Comment 11 lu lu CLA 2012-02-27 03:53:09 EST
Reviewed and approved, the fix works now. :-)
Comment 12 Huang Ji Yong CLA 2012-02-28 01:04:40 EST
Committed & Resolve
Comment 13 Thomas Wu CLA 2012-03-29 22:23:07 EDT
Verified in build of 201203292102