Handle review request summary info without timestamps.

Review Request #9701 — Created Feb. 25, 2018 and submitted

Information

Review Board
release-3.0.x
07c6ae4...

Reviewers

Old review requests from years back didn't track the closing times of
review requests. This broke the new review request status information
code, which assumed a valid timestamp to parse and display. The old
mechanism ignored this due to templates in Django 1.6 silently ignoring
failures.

Now, if the timestamp for a close is None, we just won't attempt to
show timestamp information.

Unit tests pass.

Tested with review requests that were closed but lacking close info.

Description From Last Updated

Just to be consistent in our naming, can we change this to closed_time?

daviddavid

Same here.

daviddavid
david
  1. 
      
  2. reviewboard/reviews/views.py (Diff revision 1)
     
     
    Show all issues

    Just to be consistent in our naming, can we change this to closed_time?

    1. The timestamp isn't just used for close statuses or for this new text conditional. It's used for other statuses as well.

  3. reviewboard/reviews/views.py (Diff revision 1)
     
     
    Show all issues

    Same here.

  4. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (d7e11ce)