4712: Internal Error when getting status updates when a previous status update is error.
- Fixed
- Review Board
| jcannon | |
What version are you running?
3.0
What's the URL of the page containing the problem?
http://192.168.79.134/api/review-requests/3/status-updates/
What steps will reproduce the problem?
- Post a status update with the state "error"
- Query for all status updates
- Notice internal error
What is the expected output? What do you see instead?
Expected the list of status updates, got internal error (500).
What operating system are you using? What browser?
Hosting -> CentOS 7
Browsing -> Windows 10, ChromePlease provide any additional information below.
Not on me, the issue is at https://github.com/reviewboard/reviewboard/blob/master/reviewboard/reviews/models/status_update.py#L154
Simple logic bug of usingisinstead of==for string comparison.