What version are you running?
2.5.6.1
What's the URL of the page containing the problem?
draft
What steps will reproduce the problem?
- Use rbt post to create a draft
- Don't publish it. Discard it
- Reopen the draft
What is the expected output? What do you see instead?
Expected: Diff should still be there.
Actual: Diff is gone. the tab for showing diff is gone too.What operating system are you using? What browser?
Ubuntu 14.04 Chrome Version 54.0.2840.100 (64-bit)
Please provide any additional information below.
This is by design. The diff is part of the draft, and discarding the draft will discard all parts of it.
We do copy over some (not all) information when discarding the initial draft, so you can locate it again, but the diff is not one of these things. If you've discarded a draft, you rarely want to keep the code around, as it's often a duplicate of another review request or contains something (sensitive information, perhaps) that you don't want to retain. So if you've discarded, and you want to reopen it, it's your responsibility to make a determination on what diff you want attached to it again.