Issue 2844: Draft patch sets not shown as status "draft" if older patch sets are non-drafts
Status:  New
Owner: ----
Reported by tom...@gmail.com, Aug 20, 2014
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version: 2.9

What steps will reproduce the problem?
1. Push patch set 1 to refs/for/master
2. Push patch set 2 to refs/drafts/master
3. Vote all approvals
4. Status is "ready to submit" but no submit button (nothing shows that this change has draft status)
5. gerrit review --project Playground/demo --submit "12498,2" => error: rule error: Cannot submit draft patch sets

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

Gerrit should indicate that the change is in draft status, rather than "ready to submit".

Please provide any additional information below.

Aug 25, 2014
#1 sven.sel...@sonymobile.com
The change is not in draft state. It has a ps that is published (ps1) the error message is simply that you can not submit the draft patchset (12498,2 => ps2).
Is the "publish" button missing?
/Sven
Aug 25, 2014
#2 tom...@gmail.com
Status reads "ready to submit" but there is no submit button.
Aug 26, 2014
#3 tom...@gmail.com
I see the "publish" button now. I must have missed that before (even though I don't understand how). This is not a bug. Pleas close this issue.
Aug 26, 2014
#4 tom...@gmail.com
Our problem was apparently due to missing permission for "publish draft".