| Summary: | [MVC] DD nullable timestamp/date values to handler will lead to error page | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Thomas Wu <wxwu> | ||||||||||
| Component: | EDT | Assignee: | 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: |
|
||||||||||||
Created attachment 207290 [details]
nullable timestamp and date
deferred Created attachment 208363 [details]
Fix
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. There are error messages in page after drag & drop those variables from data view to handler. Please refer to screenshot. Created attachment 209681 [details]
error message
Cannot reproduce since the fix has been applied. Please check in the new build. The issue is still exist in IE/Chrome, so reopen it. I tried in build of 20120219. Set the target milestone to I3, because I2 has already finished. Created attachment 211648 [details]
Fix for the regression
Lulu, please help review
Reviewed and approved, the fix works now. :-) Committed & Resolve Verified in build of 201203292102 |
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.