Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359004 - New Project Wizard: There is no validator on default generation folder input text field
Summary: New Project Wizard: There is no validator on default generation folder input ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Song Fan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 02:34 EDT by Thomas Wu CLA
Modified: 2017-02-23 14:14 EST (History)
2 users (show)

See Also:


Attachments
Gen folder inputs (62.89 KB, image/pjpeg)
2011-09-27 02:36 EDT, Thomas Wu CLA
no flags Details
Fix patch (2.99 KB, patch)
2011-10-24 03:46 EDT, Song Fan CLA
lasher: iplog+
Details | Diff

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