4404: "Start Over" in Update Diff popup creates a new review instead
- Fixed
- Review Board
kyz | |
Connor-Y |
What version are you running?
ReviewBoard 2.5.4
What's the URL of the page containing the problem?
/r/1234
What steps will reproduce the problem?
- On an existing review, select Update -> Update Diff
- Select a diff file
- Click 'Start Over'
- Select the diff file again
- Enter the base directory and press OK
What is the expected output? What do you see instead?
Expected behaviour: existing review request is updated with new diff and put in draft status
Actual: new review request is created using uploaded diff, existing review request is not updated
What operating system are you using? What browser?
Server is running RHEL 6, Python 2.6
Browser is Firefox 46.0Please provide any additional information below.
Workaround: to get the behaviour of "I want to start over with uploading this updated diff", press Cancel and then choose Update -> Update Diff again
I suspect this is relatively easy to fix but I haven't actually investigated the bug.
-
+ Component:WebUI + EasyFix
Note: The steps to reproduce the error are incorrect.
In step 2 you must upload an improper diff (or non-diff) file to get reviewboard to display 'Start Over'. Doing so will generate the error.
The proper steps are:
1. On an existing review, select Update -> Update Diff
2. Select a non-diff file
3. Click 'Start Over'
4. Select the diff file again
5. Enter the base directory and press OK