Fix API issues creating comments on draft file attachments.

Review Request #12962 — Created April 19, 2023 and submitted

david
Review Board
release-6.x
reviewboard

This change fixes up a couple issues with the API making comments on
not-yet-published file attachments. The main problem here is that draft
attachments are related only to the draft and not yet to the review
request. This change fixes up the questios for both get_queryset and
create to handle this.

  • Ran unit tests.
  • Added some comments to file attachments which were not yet published.
Summary
Fix API issues creating comments on draft file attachments.
Description From Last Updated

Could add a new test for POSTing comments to a draft file attachment.

maubinmaubin
maubin
  1. 
      
  2. Could add a new test for POSTing comments to a draft file attachment.

  3. 
      
david
maubin
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-6.x (80cf91b)
Loading...