<?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>7404</bug_id>
          
          <creation_ts>2015-03-05 17:34:01 +0000</creation_ts>
          <short_desc>tasks: Outcome button sort causes AttributeError exception</short_desc>
          <delta_ts>2015-04-01 09:16:22 +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.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>front-end</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Lerner">dave.lerner</reporter>
          <assigned_to name="Michael Wood">michael.g.wood</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>bluelightning</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>cristina-danielax.agurida</cc>
    
    <cc>jessica.zhang</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <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>49229</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Lerner">dave.lerner</who>
    <bug_when>2015-03-05 17:34:01 +0000</bug_when>
    <thetext>Build for a project based on qemux86 target=core-image-minimal
Select the project -&gt; Tasks
Clickl on Outcome to sort.  

Get the following error:
AttributeError at /toastergui/build/2/tasks/

&apos;list&apos; object has no attribute &apos;select_related&apos;
...

Traceback:
File &quot;/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py&quot; in get_response
  114.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File &quot;/ord-dlerner-d81/dlerner/git/poky/bitbake/lib/toaster/toastergui/views.py&quot; in tasks
  1007.     return tasks_common(request, build_id, &apos;tasks&apos;, &apos;&apos;)
File &quot;/ord-dlerner-d81/dlerner/git/poky/bitbake/lib/toaster/toastergui/views.py&quot; in tasks_common
  833.     queryset = queryset.select_related(&quot;recipe&quot;, &quot;build&quot;)

Exception Type: AttributeError at /toastergui/build/2/tasks/
Exception Value: &apos;list&apos; object has no attribute &apos;select_related&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49233</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-03-05 18:06:22 +0000</bug_when>
    <thetext>This seems to happen with both &quot;Outcome&quot; and &quot;Cache attempt&quot; in this table.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49653</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Wood">michael.g.wood</who>
    <bug_when>2015-03-23 13:57:25 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1f1230c792eeeef8f137430c32f26fb902c02f50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50017</commentid>
    <comment_count>3</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-04-01 09:16:22 +0000</bug_when>
    <thetext>Verified on master: 5c76cebc24675edb3dff473fce9b67cedff615db</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>