Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360612 - [RBD] Dojo DateTextBox: Input not date value in text will lead to blank/error page
Summary: [RBD] Dojo DateTextBox: Input not date value in text will lead to blank/error...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: lu lu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 02:01 EDT by Thomas Wu CLA
Modified: 2017-02-23 14:15 EST (History)
1 user (show)

See Also:


Attachments
screenshot (166.83 KB, image/pjpeg)
2011-10-12 02:03 EDT, Thomas Wu CLA
no flags Details
Throw InvalidPatternException (966 bytes, patch)
2012-04-12 02:33 EDT, lu lu CLA
hjiyong: iplog+
lulu: review?
hjiyong: review+
Details | Diff

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