[Buildbot] #3075: Build Properties always have an extra 'id' row

Buildbot trac trac at buildbot.net
Mon Dec 1 08:23:39 UTC 2014


#3075: Build Properties always have an extra 'id' row
-------------------+--------------------
Reporter:  Ben     |       Owner:
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:  0.9.0
 Version:  master  |  Resolution:
Keywords:          |
-------------------+--------------------

Comment (by Ben):

 The `id` property is not a field in the data API, and not a row in the DB.
 It's just there when we try to iterate over the dictionary (in javascript)
 we got from the data endpoint.

 This illustrates the impracticability of iterating over a keyed-by-name
 dictionary in javascript.

 Hence my proposal of transforming that __array of one dictionnary keyed by
 property name__ into an __array of dictionnaries (name, value, source)__.

--
Ticket URL: <http://trac.buildbot.net/ticket/3075#comment:3>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list