• 
      

    Fix 500 errors from upstream files not existing

    Review Request #8591 — Created Jan. 4, 2017 and submitted — Latest diff uploaded

    Information

    Review Board
    release-2.5.x
    88b9deb...

    Reviewers

    Previously, trying to download a original or modified file based on an
    upstream file that does not exist would result in a 500 error. Now we
    check for that case and, if the file does not exist, we return a 404
    error instead. Unit tests have been added to ensure this behaviour does
    not regress.

    Testing done:
    Ran unit tests.

    Ran unit tests.