URL to diff comments returns 404 if at least one of diff-id and file-id are invalid.

Review Request #3401 — Created Oct. 6, 2012 and submitted — Latest diff uploaded

Information

Review Board
issue-2552

Reviewers

- Fixed URL to return 404.
- Changed to use pk when getting a FileDiffResource queryset instead of local id to pass unit test.
Tested on local development server against custom urls.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 5. See what's changed.

orig
1
2
3
4
5
reviewboard/webapi/resources.py
Loading...