Fix API issues creating comments on draft file attachments.
Review Request #12962 — Created April 19, 2023 and submitted — Latest diff uploaded
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 bothget_queryset
and
create
to handle this.
- Ran unit tests.
- Added some comments to file attachments which were not yet published.