• 
      

    Fix showing the review request page when there's only a draft diff.

    Review Request #9685 — Created Feb. 20, 2018 and submitted

    Information

    Review Board
    release-3.0.x
    85b682b...

    Reviewers

    The recent work to centralize how the status line for a review request
    is computed introduced a regression when viewing the diff viewer for a
    brand new review request. If there's a draft diff but no existing
    published diffs, we'd attempt to look up an attribute on a None
    diffset, causing a page crash.

    We now build information on the latest published diff only if there is
    one.

    Successfully opened the diff viewer without a crash on a brand new
    review request.

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