Fixing state_to_string for errors and timeouts

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

Information

Review Board
master

Reviewers

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...