Bug 10206 - The add layer dependencies type ahead shows layers already in the list of dependencies
Summary: The add layer dependencies type ahead shows layers already in the list of dep...
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: David Reyna
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-09-01 16:01 UTC by Belen Barros Pena
Modified: 2025-03-19 17:34 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 16:01:56 UTC
Steps to reproduce:

1. Create a Toaster project

2. Go to the "import layer" page and import a layer

3. When back in the project configuration page, click on the name of the layer you just imported, which will be listed in the list of project layers

4. In the layer details page, scroll to the 'layer dependencies' text field, type a layer name and add it to the dependencies list

5. In the 'layer dependencies' text field, type the name of the same layer you just added.

Outcome: the layer name will come up and you can add it a second time, which will cause an error when you try to remove the duplicate from the list

Expected: the layer type ahead should not show suggestions for layers already in the list of dependencies, so that you cannot add the same layer twice.
Comment 1 David Reyna 2016-11-30 16:30:12 UTC
Cosmetic, would require active checking per keystroke, current no side effect in that the layers are filtered for duplicates, just UI shows multiples.
Comment 2 David Reyna 2019-03-21 08:18:38 UTC
Keep this for tracking.