Description
Summary
In Crucible, if you have a draft comment with a draft reply, and you go to publish them all using the 'Post Drafts' link, the comments fail to be published.
Steps to Reproduce
- Create a draft comment.
- Create a draft reply to the draft comment.
- Complete the review and select the 'Post Drafts' link.
Expected Results
The comments should all be published.
Actual Results
The below error is thrown if you try to publish a draft comment containing a draft reply using the 'Post Drafts' link.
An error has occurred Error Can't post replies to drafts.
Notes
Seems like Crucible attempts to publish them in wrong order, i.e. attempts to publish reply before the parent comment was published.
Workaround
First publish the draft comment, and then the reply separately.