Bug 5449

Summary: Wrong value for the field "AUTHOR".
Product: [Build System, Metadata & Runtime] Toaster Reporter: Andreea Brandusa Proca <andreea.b.proca>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu
Version: unspecified   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
author-column-in-simple-interface.png none

Description Andreea Brandusa Proca 2013-11-04 14:03:45 UTC
Example:

The field "AUTHOR" is set in ~/meta/recipes-graphics/tslib/tslib_1.1.bb but in the database it appears as "Not Available".

Traceback (most recent call last):
  File "/home/brandusa/poy-toaster/bitbake/lib/toaster/orm/tests.py", line 473, in test_quality_Recipe
    self.assertEqual(all_values[i].author, author)
AssertionError: u'Not Available' != 'Russell King w/ plugins by Chris Larson et. al.'
Comment 1 Paul Eggleton 2013-11-04 14:17:59 UTC
FWIW, my opinion is Toaster shouldn't be handling this variable at all. It's not really consistently set in the metadata, nor does it seem particularly useful.
Comment 2 Belen Barros Pena 2013-11-04 14:41:25 UTC
(In reply to comment #1)
> FWIW, my opinion is Toaster shouldn't be handling this variable at all. It's
> not really consistently set in the metadata, nor does it seem particularly
> useful.

I'd be happy with that, as long as we get rid of the field then (I don't like the idea of having broken fields lying around).
Comment 3 Belen Barros Pena 2013-11-07 18:24:09 UTC
Alex: is there a patch for this and, if yes, what does it do? Does it fix the field or does it get rid of the field?
Comment 4 Alexandru Damian 2013-11-08 11:32:47 UTC
Gets rid of the field.
Comment 5 Alexandru Damian 2013-11-18 11:39:01 UTC
Merged in origin/master and origin/dora-toaster
Comment 6 Belen Barros Pena 2013-11-18 17:47:20 UTC
The author field is gone from the database, but the column is still in the simple interface (screenshot attached). Could we remove it?

Also, I've removed the author api call from the api documentation.
Comment 7 Belen Barros Pena 2013-11-18 17:47:35 UTC
Created attachment 1630 [details]
author-column-in-simple-interface.png
Comment 8 Alexandru Damian 2013-11-21 11:51:00 UTC
Fixed in poky-contrib toaster/master:0146a6f76fd001204f7e3bd1f0311ff881129794
Comment 9 Belen Barros Pena 2013-12-23 15:37:12 UTC
The db in master no longer has the author field.
Comment 10 Belen Barros Pena 2013-12-23 15:38:00 UTC
Verified in master:3ada51f7aa26fc95d5f9ba4498c0ea54acc6e42e