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

Bug 359004

Summary: New Project Wizard: There is no validator on default generation folder input text field
Product: z_Archived Reporter: Thomas Wu <wxwu>
Component: EDTAssignee: Song Fan <songfan>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, hjiyong
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Gen folder inputs
none
Fix patch lasher: iplog+

Description Thomas Wu CLA 2011-09-27 02:34:49 EDT
Build Identifier: 20110926

User could input any invalid string into default generation folder input field, such as .*^%$/ etc.

Reproducible: Always

Steps to Reproduce:
1. Try to new an EGL basic project
2. In EGL settings page of the wizard, input some invalid string into default generation folder field, such as ,*&%(/, etc.

Actual results: There is no any error message shown, and the project could be created. But java or javascript files could not be generated anywhere.
Comment 1 Thomas Wu CLA 2011-09-27 02:36:42 EDT
Created attachment 204049 [details]
Gen folder inputs
Comment 2 Tony Chen CLA 2011-10-08 23:23:24 EDT
GenerationSettingsComposite is able to handle the validation. I debug the code, the validation is run and gave an error status, however, the error status is not displayed on the Page. 

Jiyong, assign to you to take a look.
Comment 3 Song Fan CLA 2011-10-24 03:46:41 EDT
Created attachment 205782 [details]
Fix patch
Comment 4 Huang Ji Yong CLA 2011-10-28 05:47:05 EDT
Code committed
Comment 5 Song Fan CLA 2011-10-30 22:41:34 EDT
fixed
Comment 6 Thomas Wu CLA 2011-11-01 04:30:28 EDT
Verified in build 20111031