Community
Participate
Working Groups
1) Open new component wizard 2) Make sure a folder is selected 3) Make sure the file has a name 4) Have no value for the class Result: The wizard says the component must have a name. Expected result: The wizard says that a class must be specified
Created attachment 194744 [details] Fix
Fixed in HEAD. When you open the wizard we fill in example values. If the user deletes the text, a more accurate error is returned. Ankur, please review for RC1.
Created attachment 194801 [details] updated patch
The patch is good. However, I noticed that when the filename has not been provided (and other entries are) then the message reads "Name can not be empty". This gets ambiguous as it is not referring to the Component 'Name' but the 'File Name'. I am attaching an updated patch which does this additional validation. See if it looks better.
The updated patch is fine by me. Please review and commit it.
+1 Applied to HEAD
Verified in I20110514-0800