Fixing state_to_string for errors and timeouts

Review Request #10058 — Created July 3, 2018 and submitted

jcannon
Review Board
master
4712
reviewboard

Fixing state_to_string for errors and timeouts.

Should be using string equality, instead of identity.

Before change -> Internal Error (500) when using the REST API on a review with an error status update.
After change -> No error, data retrieved is correct.

sujeevan
  1. Ship It!
  2. 
      
brennie
  1. Ship It!
  2. 
      
chipx86
  1. Ship It!
  2. 
      
jcannon
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (4d321f4)
Loading...