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

Bug 360612

Summary: [RBD] Dojo DateTextBox: Input not date value in text will lead to blank/error page
Product: z_Archived Reporter: Thomas Wu <wxwu>
Component: EDTAssignee: lu lu <lulu>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: hjiyong
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
screenshot
none
Throw InvalidPatternException hjiyong: iplog+, lulu: review?, hjiyong: review+

Description Thomas Wu CLA 2011-10-12 02:01:53 EDT
Build Identifier: 20111011

There is the same issue in RBD8012
Input not date value in text will lead to blank/error page. It will be better if there is a validator for text inputing.

Reproducible: Always

Steps to Reproduce:
1.D&D a Dojo DateTextBox into handler.
2.Select and go to its properties view.
3.In the "text" property, input some strings not date value, such as "text".

Actual results: The preview tab will be a blank page, and the same with external IE. In firefox, I got an error page.
Comment 1 Thomas Wu CLA 2011-10-12 02:03:48 EDT
Created attachment 204990 [details]
screenshot
Comment 2 Huang Ji Yong CLA 2011-10-13 10:07:36 EDT
It is not designed.Change this to enhancement.
Comment 3 lu lu CLA 2012-04-12 02:33:09 EDT
Created attachment 213881 [details]
Throw InvalidPatternException

'Text' attribute can be set with the format 'MM/dd/yyyy', if mismatch, will throw InvalidPatternException now.

Hi JiYong, pls help to review and submit. Thanks.
Comment 4 Huang Ji Yong CLA 2012-04-12 02:57:09 EDT
Comment on attachment 213881 [details]
Throw InvalidPatternException

Reviewed & Committed
Comment 5 lu lu CLA 2012-04-12 03:02:44 EDT
Resolve it. Thanks.
Comment 6 Thomas Wu CLA 2012-06-27 22:31:11 EDT
Verified in build of 20120627. There are two new issues found, so I will open new defects for them.