<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7051</bug_id>
          
          <creation_ts>2014-12-09 12:42:53 +0000</creation_ts>
          <short_desc>the all layers page shows two core layers for different layer sources when filtering, and wrong search results</short_desc>
          <delta_ts>2015-01-23 17:44:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>1.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>cristiana.voicu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47453</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2014-12-09 12:42:53 +0000</bug_when>
    <thetext>Found in poky/master:b813bdebb36501500e86fea5f7e15b4b15ea0902 

Steps to reproduce:

* Create a project with release &quot;yocto project master&quot;
* Build something provided by the core layers (for example, core-image-minimal)
* Once the build is complete, visit the all layers page
* Click the filter button in the &apos;Layer source&apos; column: a &apos;Local Yocto Project&apos; layer source is showing, with 3 layers in it. Select this layer source and click apply

Outcome: openembedded-core, meta-yocto and meta-yocto-bsp will show. Those layers should never show for a project with release &quot;Yocto Project master&quot;. 

Expected outcome: The version of the layers shown should be the OpenEmbedded | master one, not the Local Yocto Project | master one. There should only be one instance of the core layers in any project, and it should match the selected project release.

* Clear the filter by hovering over the &apos;Layer source&apos; filter button and clicking on the &apos;Show all layers&apos; button inside the tooltip

* Search for &quot;openembedded-core&quot;

Outcome: the page heading says &apos;3 layers found&apos;, but only 2 layers are listed on the table (openenbedded-core for the Local Yocto Project and meta-kde4).

Expected outcome: the page heading should say &apos;1 layer found&apos; and the table should show the openembedded-core layer for the OpenEmbedded layer source with branch &apos;master&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48092</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2015-01-20 16:20:27 +0000</bug_when>
    <thetext>The layers shown in the &quot;All layers&quot; page are the layers used to actually build the project. 

The &quot;Local&quot; layers appear here instead of of the layer index ones because the toasterconf.json sets higher precedence to Local layer source compared to OpenEmbedded layer source.

The Project release specifies the branch and not the layer source of the layers. Indeed, the Local layers are checked out on the project release branch - master.

I think this behavior is correct - if not, we need to revisit the entire layer checkout strategy.

--

The &quot;meta-kde4&quot; entry for the search is valid because the search matches the Git URL field, which is a valid target for search. It happens that 	meta-kde4 GIT is  https://gitorious.org/openembedded-core-layers/meta-kde4.git 

--

The found number of layers in the search results is indeed wrong. Working on this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48098</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2015-01-20 16:39:54 +0000</bug_when>
    <thetext>Pushed for review on 

poky-contrib:adamian/20150119-fixes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48243</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2015-01-23 17:44:41 +0000</bug_when>
    <thetext>merged into master</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>