• 
      

    Fix the field name for changedescription in drafts.

    Review Request #4496 — Created Aug. 28, 2013 and submitted

    Information

    Review Board
    master

    Reviewers

    Fix the field name for changedescription in drafts.
    
    The DraftReviewRequest model was trying to pull out "change_description" from
    the JSON payload for the draft's change description, but the API field name is
    'changedescription'. We didn't notice this because it wasn't actually used
    anywhere (the change description was saved but never re-read).
    
    - Ran js-tests
    - Used this in conjunction with a change that adds a formatter to the
      changedescription field in the review request editor, causing the new value
      to be read when we save the draft.
    reviewbot
    1. This is a review from Review Bot.
        Tool: PEP8 Style Checker
        Processed Files:
        Ignored Files:
          reviewboard/static/rb/js/resources/models/tests/draftReviewRequestModelTests.js
          reviewboard/static/rb/js/resources/models/draftReviewRequestModel.js
      
      
    2. 
        
    reviewbot
    1. This is a review from Review Bot.
        Tool: Pyflakes
        Processed Files:
        Ignored Files:
          reviewboard/static/rb/js/resources/models/tests/draftReviewRequestModelTests.js
          reviewboard/static/rb/js/resources/models/draftReviewRequestModel.js
      
      
    2. 
        
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (89dcc6a).