4400: rbt post not able to update the description of review request, if not in draft state.

AmanChaudhary

What version are you running?

0.7.6

What steps will reproduce the problem?

  1. Create a new review request.
  2. Publish it.
  3. Then try to update the description of the review request created using "rbt post --description='new descrition' --change-only" and it fails.
  4. The rbt post says
  5. It was working till 0.7.5

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

It is expected that the description should be updated in published request too without any diff change, as --change-only flag is used in the request above.

Instead: does not exist is thrown out.
as shown:
rbtools.commands.CommandError: Error retrieving review request draft: Object does not exist (HTTP 404, API Error 100)

What operating system are you using?

freebsd

Attach the debug out from the command.

$ rbt <command> --debug <args>
<debug output>

Please provide any additional information below.

#1 AmanChaudhary

I am using perforce repository when the above issue is happening.

#2 AmanChaudhary

Additionly i am using the command as:

rbt post --description="new description" --change-only <perfroce_changelist_number>

perfroce_changelist_number: it is the pending perforce change list for which i am posting the result.