Bug 10205 - The layer typeahead shows the project release branch for non-git layers
Summary: The layer typeahead shows the project release branch for non-git layers
Status: NEW
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low normal
Target Milestone: Future
Assignee: Toaster default assignee
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-09-01 15:47 UTC by Belen Barros Pena
Modified: 2023-12-14 04:18 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2016-09-01 15:47:01 UTC
Steps to reproduce:

1. Create a Toaster project with release master

2. Go to the import layer page and import a layer specifying a directory as the location of the layer source code

3. Back in the project configuration page, remove the layer you just imported from the layers list

4. In the "type a layer name" above the layers list, type the name of the layer you just removed

Outcome: the layer in the type ahead suggestions shows 

[ | master ]

next to it. 

Expected: No branch should be shown for non-git layers like this one, since the source code location points to a directory. The typeahead suggestions should show the layer name only.