<?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>7156</bug_id>
          
          <creation_ts>2015-01-16 11:15:46 +0000</creation_ts>
          <short_desc>The project builds page throws an error</short_desc>
          <delta_ts>2015-03-25 08:42:21 +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>unspecified</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8 M3</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>bluelightning</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>cristina-danielax.agurida</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>47971</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-01-16 11:15:46 +0000</bug_when>
    <thetext>When you click the &quot;View all project builds&quot; link in the project page, you get this error:

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/toastergui/project/1/builds

Django Version: 1.6
Python Version: 2.7.6
Installed Applications:
(&apos;django.contrib.auth&apos;,
&apos;django.contrib.contenttypes&apos;,
&apos;django.contrib.messages&apos;,
&apos;django.contrib.sessions&apos;,
&apos;django.contrib.admin&apos;,
&apos;django.contrib.staticfiles&apos;,
&apos;django.contrib.humanize&apos;,
&apos;orm&apos;,
&apos;toastermain&apos;,
&apos;south&apos;,
&apos;bldviewer&apos;,
&apos;toastergui&apos;,
&apos;bldcontrol&apos;)
Installed Middleware:
(&apos;django.middleware.common.CommonMiddleware&apos;,
&apos;django.contrib.sessions.middleware.SessionMiddleware&apos;,
&apos;django.middleware.csrf.CsrfViewMiddleware&apos;,
&apos;django.contrib.auth.middleware.AuthenticationMiddleware&apos;,
&apos;django.contrib.messages.middleware.MessageMiddleware&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;/home/yocto/poky/bitbake/lib/toaster/toastergui/views.py&quot; in projectbuilds
  2846.                                              (&apos;Builds with
failed tasks&apos;, &apos;build__task_build__outcome:4&apos;,
queryset_with_search.filter(build__task_build__outcome=4).count()),
File &quot;/usr/local/lib/python2.7/dist-packages/django/db/models/query.py&quot;
in filter
  590.         return self._filter_or_exclude(False, *args, **kwargs)
File &quot;/usr/local/lib/python2.7/dist-packages/django/db/models/query.py&quot;
in _filter_or_exclude
  608.             clone.query.add_q(Q(*args, **kwargs))
File &quot;/usr/local/lib/python2.7/dist-packages/django/db/models/sql/query.py&quot;
in add_q
  1198.         clause = self._add_q(where_part, used_aliases)
File &quot;/usr/local/lib/python2.7/dist-packages/django/db/models/sql/query.py&quot;
in _add_q
  1232.                     current_negated=current_negated)
File &quot;/usr/local/lib/python2.7/dist-packages/django/db/models/sql/query.py&quot;
in build_filter
  1100.                     allow_explicit_fk=True)
File &quot;/usr/local/lib/python2.7/dist-packages/django/db/models/sql/query.py&quot;
in setup_joins
  1351.             names, opts, allow_many, allow_explicit_fk)
File &quot;/usr/local/lib/python2.7/dist-packages/django/db/models/sql/query.py&quot;
in names_to_path
  1274.                                      &quot;Choices are: %s&quot; %
(name, &quot;, &quot;.join(available)))

Exception Type: FieldError at /toastergui/project/1/builds
Exception Value: Cannot resolve keyword &apos;build&apos; into field. Choices
are: bitbake_version, build_name, buildartifact, buildrequest,
completed_on, cooker_log_path, distro, distro_version, errors_no,
helptext_build, id, layer_version_build, logmessage, machine, outcome,
package, project, started_on, target, task_build, timespent,
variable_build, warnings_no</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48253</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2015-01-23 17:49:30 +0000</bug_when>
    <thetext>Pushed for review on 

poky-contrib:adamian/20150123-review</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48423</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2015-01-30 13:31:48 +0000</bug_when>
    <thetext>merged in master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49686</commentid>
    <comment_count>3</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-03-24 11:55:26 +0000</bug_when>
    <thetext>Verified on master: 4bd886fb0081954879aaa2f574f3c7f6ced745d5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49690</commentid>
    <comment_count>4</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-03-24 12:05:22 +0000</bug_when>
    <thetext>see above comment</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>