------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4855/
------------------------------------------------------------------------------

New ticket #4855 by m_hemapriya
For Beanbag, Inc. > RBTools

Status: New
Tags: Priority:Medium, Type:Defect


------------------------------------------------------------------------------
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"

------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20200108072252.9467.76745%40ip-10-1-54-209.ec2.internal.

Reply via email to