4855: rbtools 1.0.2 returns blank summary for draft review requests

m_hemapriya

What version are you running?

1.0.2

What steps will reproduce the problem?

  1. Create a draft review request
  2. Do not publish it
  3. Run "rbt status"

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

Expected output is draft review request id with summary. What we see is review request id with blank summary.

What operating system are you using?

RHEL 6

Attach the debug out from the command.

[hema@reviewboard rbtools]$ ./rbt status
+--------------+------------------------------------+
|    Status    |           Review Request           |
+==============+====================================+
| Draft        | r/573743 -                         |
+--------------+------------------------------------+
| Draft        | r/566587 -                         |
+--------------+------------------------------------+

Please provide any additional information below.

Change "request.summary" in line no. 112 of commands/status.py to "request.draft[0]['summary'] if request.draft else request.summary"

david
#1 david
  • +EasyFix
ceciliawei
#2 ceciliawei

I'll work on this.

david
#3 david

Fixed in release-1.0.x (9213a78). This will ship in 1.0.3 and 2.0. Thanks!

  • -New
    +Fixed