Labels: Type-Defect Priority-Medium
New issue 3887 by erik.l...@gmail.com: Perforce diff submission is broken
What version are you running?
ReviewBoard 2.0.17 and RBTools 0.7.2 and 0.7.4
What's the URL of the page containing the problem?
What steps will reproduce the problem?
1. Attempt to post any change via perforce
What is the expected output? What do you see instead?
I expect the post to succeed. Instead, I get a 500 error in the client:
Generating diff for pending changeset 179888
ERROR: Error validating diff
And the error in the server is:
line 144, in create
line 156, in create_from_upload
line 180, in create_from_data
line 287, in _process_files
line 332, in parse_diff_revision
filename, revision = revision_str.rsplit('#', 1)
ValueError: need more than 1 value to unpack
What operating system are you using? What browser?
Please provide any additional information below.
Looking at revision_str, it doesn't contain any '#' character and is
actually of the form: "2015-06-16 11:39:35" when called with f.newFile and
f.newInfo. When called with f.origFile and f.origInfo,
parse_diff_revision() would work as expected but we bomb out before getting
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.