RBTools Ticket #4855: rbtools 1.0.2 returns blank summary for draft review requests

1 view
Skip to first unread message

Hemapriya M

unread,
Jan 8, 2020, 2:22:56 AM1/8/20
to Hemapriya M, reviewboa...@googlegroups.com
To reply, visit https://hellosplat.com/s/beanbag/tickets/4855/

New ticket #4855 by m_hemapriya

For Beanbag, Inc. RBTools

rbtools 1.0.2 returns blank summary for draft review requests

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"

New Priority:Medium Type:Defect
Reply all
Reply to author
Forward
0 new messages