-
-
reviewboard/webapi/resources.py (Diff revision 1) Seems like this would end up causing all comments to be returned, not just for this review request? Instead, I think you can do a Q(screenshot__review_request=) | Q(screenshot__inactive_review_request=)
-
reviewboard/webapi/tests.py (Diff revision 1) Should be _delete_screenshot. (Yeah, the other functions need changing, but we'll do that at some point.)
Bug fix: Update comment issue status on a deleted screenshot
Review Request #3053 — Created April 9, 2012 and submitted
Information | |
---|---|
medanat | |
Review Board | |
Reviewers | |
reviewboard | |
This fixes a bug where an issue on a deleted screenshot can not have its status updated. A possible fix has been proposed, confirmation is required. A test case to expose this scenario has also been created. This bug may also be present with file attachments.
Ran reviewboard.webapi.tests:ReviewScreenshotCommentResourceTests. 11 Tests OK