Bug 4008

Summary: Error text should be changed when creating projects with invalid titles
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: eclipse-pluginAssignee: Ioana Grigoropol <ioanax.grigoropol>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: ioanax.grigoropol, jessica.zhang, yp.ep.watcher, yp.watcher
Version: 1.4   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 4009    
Attachments:
Description Flags
err none

Description Alexandru Georgescu 2013-03-11 15:53:48 UTC
Created attachment 1110 [details]
err

When creating a new project which contains invalid characters in its title, an error appears (see attachment 1 [details]). The text repeats itself and it's not explaining very well the cause.

The enhancement would be to change the text to a more clear one, e.g: 


Error in creating project "<project name>". 

Reason:
"<project name> contains space(s). Project name cannot contain space(s).
Comment 1 Ioana Grigoropol 2013-03-27 10:46:15 UTC
As far as I can see, the only thing that I can do from inside our plugin is modify the error message to a  more comprehensive one, like "Project name is invalid/contains invalid characters", or extend the validation that is done for the project name similar to the one I did on the Bitbake branch.
A patch for this has been sent to list.
Comment 3 Alexandru Georgescu 2013-04-11 08:48:30 UTC
Verified.
Comment 4 Jessica 2013-04-13 23:21:54 UTC
*** Bug 3748 has been marked as a duplicate of this bug. ***