Bug 8114 - The layer details page allows me to build and select machines when the layer is not added to the project
Summary: The layer details page allows me to build and select machines when the layer ...
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.0
Assignee: Michael Wood
QA Contact: Cristina Agurida
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-08-06 11:47 UTC by Belen Barros Pena
Modified: 2015-10-28 13:33 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 2015-08-06 11:47:24 UTC
Found in master:a8b723498c9a7106210db140452886894494b4d6

Steps to reproduce:

1. Create a Toaster project
2. Go to the layers page 
3. Search for meta-intel
4. Click the meta-intel layer name to go to the layer details page
5. Select the 'Recipes' tab: although the layer is not added to the project, the 'build recipe' buttons are active (they should be inactive until you add the layer)
6. Select the 'Machines' tab: although the layer is not added to the project, the 'select machine' buttons are active (they should be inactive until you add the layer)
Comment 1 Belen Barros Pena 2015-08-06 12:53:01 UTC
sorry: this only happens when the layer in question is added to one of the existing projects. So to reproduce this, you need to:

1. Create a project
2. Add meta-intel to it
3. Create a second project
4. In this second project, go to the meta-intel layer details page. 

It looks like a weird case of cross-project contamination or something. If you delete meta-intel from project one, the problem does no longer happen in project two.
Comment 3 Cristina Agurida 2015-10-28 13:33:25 UTC
Verified on master: 505a82673ac2487df5ea343a6422c2fc47018831