4420: Bugzilla info panel contains python unicode objects. eg. Status: (u'ASSIGNED',)

glob
brennie
brennie

What version are you running?

2.5.4

What's the URL of the page containing the problem?

https://reviewboard.mozilla.org/r/6863/

What steps will reproduce the problem?

  1. visit https://reviewboard.mozilla.org/r/6863/ (or any other review request)
  2. hover over bug number

What is broken?

the bug info panel contains:

1153053: (u'Implement command to submit reviews to MozReview using git-cinnabar',)
Status: (u'ASSIGNED',)
etc..

Please provide any additional information below.

the fix for this involves casting the response from bugzilla to a string. pretty straight forward.

note: the rest request can be improved by requesting just the fields that review board requires (the default is to return all fields, which can be expensive).

i have a work around for our instance in https://reviewboard.mozilla.org/r/56588/diff/1 most of which i plan on providing as a patch for review board itself once i find some time.

chipx86
#1 chipx86

Barret, up for taking this on? (Would be nice to have some more eyes on our bug tracker integration.) No hurry on this.

  • -New
    +Confirmed
  • +Release-2.5.x
  • +Component:HostingServices
    +EasyFix
  • +brennie
brennie
#2 brennie

A change for this is up at https://reviews.reviewboard.org/r/8253/.

  • -Confirmed
    +PendingReview
brennie
#3 brennie

This has been fixed as b9f5df1b3651393b606c10d865cb09882ca1e30d. Thanks for reporting.

  • -PendingReview
    +Fixed