[Buildbot] #3430: Builder names > 20 cause error during rest queries

Buildbot trac trac at buildbot.net
Thu Jan 28 23:59:22 UTC 2016

#3430: Builder names > 20 cause error during rest queries
Reporter:  gtmacdonald  |      Owner:
    Type:  defect       |     Status:  new
Priority:  major        |  Milestone:  0.9.+
 Version:               |   Keywords:
 I came across this with 0.9.0b5 while using the dataService to query for
 the builderid by builder name. In my controller constructor I have
 something like this:

 data = dataService.open().closeOnDestroy($scope)
 $scope.builders = data.getBuilders(name: 'GreaterThan20Chars')

 Which caused an error to appear in the browser console:

 {"error": "invalid filter value for name"}

 I found I could duplicate the error directly in the browser address bar
 using the rest API:


 If it didn't find the builder it returned a zero length collection. But if
 the builder name was greater than 20 characters it gave the error message.

Ticket URL: <http://trac.buildbot.net/ticket/3430>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation

More information about the bugs mailing list