'ReviewRequest' instance needs to have a primary key value before a many-to-many relationship can be used.

Review Request #663 — Created Dec. 7, 2008 and discarded

Information

Review Board SVN (deprecated)

Reviewers

raises
'ReviewRequest' instance needs to have a primary key value before a many-to-many relationship can be used.
some ugly tests to reach this part of code.
MB
  1. 
      
  2. /trunk/reviewboard/reviews/forms.py (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    the add_default_reviewers will raise the error below when we have deleted the review.
    The review_record is deleted when the diff_form returns no exception but a self.errors['diff_path'] not empty
    
    
    Error:
    'ReviewRequest' instance needs to have a primary key value before a many-to-many relationship can be used.
    
    
    Note:
    This error still exists on the last version of your greate review-board tool !
    1. I can't quite tell, but I assume this is a bug report? Can you please use the bug tracker instead of Review Board for this?
    2. Done
      Issue 781 Opened: http://code.google.com/p/reviewboard/issues/detail?id=781
  3. 
      
Loading...