Bug 4800

Summary: no error checking when populating a BB recipe using SRC_URI
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: eclipse-pluginAssignee: Todor Minchev <todor.minchev>
Status: VERIFIED FIXED QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: minor    
Priority: Low CC: alexandru.costinx.roman, ioanax.grigoropol, yp.ep.watcher, yp.watcher
Version: 1.5   
Target Milestone: 1.9   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Alexandru Georgescu 2013-07-02 08:46:37 UTC
eclipse-plugin: http://autobuilder.yoctoproject.org/pub/nightly/20130625-2/eclipse-plugin/org.yocto.sdk-development-201306252103-archive.zip

eclipse-poky:60e99763dc9b77307d46eae4f43343948fa49757


STEPS TO REPRODUCE
1. Perform a headless build and install the eclipse plugin
2. Create a new bitbake commander project
3. Try to create a new BB recipe. In the BB recipe add any non-valid value in SRC_URI (e.g.: test)
4. Press populate for SRC_URI

EXPECTED RESULTS
4. An error is displayed informing that an invalid SRC_URI value was entered

ACTUAL RESULT
4. Nothing happens.
Comment 1 Todor Minchev 2015-06-30 20:27:51 UTC
Are there any other URI protocols for SRC_URI apart of the ones below which should be supported?

file:// - Fetches files, which are usually files shipped with the Metadata, from the local machine. 

bzr:// - Fetches files from a Bazaar revision control repository.

git:// - Fetches files from a Git revision control repository.

osc:// - Fetches files from an OSC (OpenSUSE Build service) revision control repository.

repo:// - Fetches files from a repo (Git) repository.

ccrc:// - Fetches files from a ClearCase repository.

http:// - Fetches files from the Internet using http.

https:// - Fetches files from the Internet using https.

ftp:// - Fetches files from the Internet using ftp.

cvs:// - Fetches files from a CVS revision control repository.

hg:// - Fetches files from a Mercurial (hg) revision control repository.

p4:// - Fetches files from a Perforce (p4) revision control repository.

ssh:// - Fetches files from a secure shell.

svn:// - Fetches files from a Subversion (svn) revision control repository.
Comment 2 Todor Minchev 2015-07-07 18:13:08 UTC
fixed with fb12dd841ba
Comment 3 Alexandru Roman 2015-08-19 12:53:45 UTC
Verify on Eclipse Luna: fb12dd841ba2fb457b76133caed830bc45ad6eb3