Bug 8251

Summary: Layer dependency names are missing the href attribute
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: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Low CC: alexandru.costinx.roman, belen.barros.pena, jessica.zhang, sjolley.yp.pm, stanciux.mihail
Version: 1.8   
Target Milestone: 2.0   
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 2015-09-03 16:57:03 UTC
Found in master:bc6a1a23e3d1af3861288a7abdbc9d5010470204

When you add a layer with dependencies to a project, the layer dependency names in the notification and in the list of project layers are missing the href attribute (they are supposed to link to the corresponding layer details page).

Note that the layer you add has the attribute: the problem happens only with layer dependencies.

The href attribute in the list of project layers is added if you refresh the page (the notification disappears on refresh).
Comment 1 Michael Wood 2015-10-07 13:57:14 UTC
Can't recreate this problem in current master. Could you check if this is still the case and if  so provide steps to reproduce. Thanks
Comment 2 Belen Barros Pena 2015-10-11 12:50:59 UTC
I can still reproduce this on master:e35c404537db0b46047fcb2ee7d3645e3e0935c5

This is how

1. Create a Toaster project with the master release
2. Go to the all compatible layers table
3. Add meta-acer

In the notification at the top of the page once the layers are added, meta-acer is a link with href

/toastergui/project/4/layer/120

(in my case). The mark up for the meta-acer dependencies (meta-android and meta-oe) is as follows:

<a data-original-title="" title="">meta-android</a>
<a data-original-title="" title="">meta-oe</a>

The href attribute is missing.
Comment 3 Stephen K Jolley 2015-10-19 20:42:58 UTC
It appears Belen has answered the needinfo.  I am moving this back to NEW unless a new question is asked.
Comment 5 Alexandru Roman 2015-11-05 14:23:08 UTC
Verified on master: fc45deac89ef63ca1c44e763c38ced7dfd72cbe1