Fix the New Review Request page with missing commit data.

Review Request #7446 — Created June 22, 2015 and submitted

Information

Review Board
release-2.0.x
5a6d863...

Reviewers

The New Review Request page's commit list was expecting a valid date for
each commit, and crashed if one wasn't provided. This would occur if dealing
with an inaccessible commit on Subversion.

We now set a flag if the commit is inaccessible, and change our presentation
for that commit. The commit will say "Revision XYZ (not accessible on this
repository)", and won't be available to post for review.

Hard-coded all the data for a commit to being blank, and tried viewing the
commit list. Saw that the data, while useless, didn't look flat-out broken.

Tried posting inaccessible commits for review, and couldn't. I could still
post accessible commits.


Description From Last Updated

Should this be gettext-ed?

brenniebrennie
reviewbot
  1. Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/commitView.js
        reviewboard/static/rb/js/resources/models/repositoryCommitModel.js
    
    
    
    Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/commitView.js
        reviewboard/static/rb/js/resources/models/repositoryCommitModel.js
    
    
  2. 
      
brennie
  1. 
      
  2. Show all issues

    Should this be gettext-ed?

  3. 
      
chipx86
reviewbot
  1. Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/commitView.js
        reviewboard/static/rb/js/resources/models/repositoryCommitModel.js
    
    
    
    Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/commitView.js
        reviewboard/static/rb/js/resources/models/repositoryCommitModel.js
    
    
  2. 
      
chipx86
reviewbot
  1. Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/commitView.js
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/js/resources/models/repositoryCommitModel.js
    
    
    
    Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/js/newReviewRequest/views/commitView.js
        reviewboard/static/rb/css/newReviewRequest.less
        reviewboard/static/rb/js/resources/models/repositoryCommitModel.js
    
    
  2. 
      
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (dfc52fd)