Bug 8952

Summary: Changes to the revision of an imported layer are not saved
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Michael Wood <michael.g.wood>
Status: VERIFIED FIXED QA Contact: Libertad <libertad.gonzalez.de.la.cruz>
Severity: normal    
Priority: Medium+ CC: belen.barros.pena, henry.bruce, jessica.zhang, libertad.gonzalez.de.la.cruz, stanciux.mihail
Version: 2.0   
Target Milestone: 2.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Belen Barros Pena 2016-01-20 10:34:59 UTC
Steps to reproduce:

1. Create a Toaster project

2. Import a layer, for example:

layer name: meta-sdr-toaster
git url: git://github.com/balister
revision: master

3. Go to the layer details page for the layer you just imported and edit the revision. For example, set it to 'blah'

4. Go back to the project configuration page and hover over the name of the layer you imported: you can still see the old revision (master). Click on the layer name: the revision is back to 'master'.

All the other layer information fields seem to work ok: it is just the revision not saving changes.
Comment 1 Henry Bruce 2016-02-29 19:14:58 UTC
This is important as it is not obvious to the new user what revision means here.
So when I found out it was the git branch or tag and not a revision number (e.g. "1.0") I had to edit layer info, but could not do so. Instead I had to delete layer and import again.
Comment 2 Libertad 2016-04-15 17:43:18 UTC
*** Bug 9453 has been marked as a duplicate of this bug. ***
Comment 4 Libertad 2016-07-19 22:50:16 UTC
This was verified in master branch and commit 627d01997fcf6a0581d88047735769ffb2592b82

following the same steps described when opening this issue.