4046: rbt apt-get /review-requests/ returns empty attributes on draft rewview requests

vguna

What version are you running?

0.7.5

What steps will reproduce the problem?

  1. Create a draft review request
  2. Set attributes like branch or bug ids on the request
  3. Query the requests using --show-all-unpublished=true

Example:

rbt api-get --pretty --username=svnhook --password=hookpw --server https://someserver/reviewboard /review-requests/ --status=all --show-all-unpublished=true

What is the expected output? What do you see instead?

The command should list the draft requests including the branch and bug id values set.
The command returns the attributes with empty values.

What operating system are you using?

Ubuntu 14.04

Attach the debug out from the command.

$ rbt api-get --pretty --username=svnhook --password=hookpw --server https://somewhere.org/reviewboard /review-requests/ --status=all --show-all-unpublished=true
>>> RBTools 0.7.5
>>> Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2]
>>> Running on Linux-3.18.9-x86_64-jb1-x86_64-with-Ubuntu-14.04-trusty
>>> Home = /root
>>> Current directory = /root
>>> Making HTTP GET request to https://www.somewhere.org/reviewboard/api/
>>> Making HTTP GET request to https://www.somewhere.org/reviewboard/api/review-requests/?status=all&show-all-unpublished=true
>>> Cached response for HTTP GET https://www.somewhere.org/reviewboard/api/review-requests/?status=all&show-all-unpublished=true expired and was modified

Please provide any additional information below.

The user has permissions to list unpublished review requests, but attributes are simply empty. When published, the attributes are filled as expected.
Also see:

https://www.mail-archive.com/reviewboard@googlegroups.com/msg17350.html

david
#1 david
  • -New
    +NotABug