4732: SVN delete an empty file with svn property causes DIFF display error

totoroliu

What version are you running?

Ubuntu 14.04
Reviewboard server 2.5.17

What's the URL of the page containing the problem?

https://<server_IP>/r/<reviewrequest_ID>/diff/<revision>#index_header

What steps will reproduce the problem?

  1. svn commit an empty file with svn property (svn:executable on)
  2. svn rm the empty file and rbt post the change

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

I expect to see "This empty file was deleted. The content cannot be displayed." with pink background.
(refer to screeshot: Selection_018.png)

But I see "There was error displaying this diff....." with yellow background.
(refer to screeshot: Selection_019.png)

What operating system are you using? What browser?

Server: Ubuntu 14.04
Client: Ubuntu 16.04 Chromium Version 68.0.3440.106 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)

Please provide any additional information below.