Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364276 - [MVC] DD nullable timestamp/date values to handler will lead to error page
Summary: [MVC] DD nullable timestamp/date values to handler will lead to error page
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Huang Ji Yong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-21 04:46 EST by Thomas Wu CLA
Modified: 2017-02-23 14:14 EST (History)
6 users (show)

See Also:


Attachments
nullable timestamp and date (154.46 KB, image/pjpeg)
2011-11-21 04:49 EST, Thomas Wu CLA
no flags Details
Fix (2.74 KB, patch)
2011-12-14 00:35 EST, Huang Ji Yong CLA
no flags Details | Diff
error message (26.01 KB, image/pjpeg)
2012-01-18 10:26 EST, Thomas Wu CLA
no flags Details
Fix for the regression (837 bytes, patch)
2012-02-26 20:12 EST, Huang Ji Yong CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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