• 
      

    Fix API issues creating comments on draft file attachments.

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

    Information

    Review Board
    release-6.x

    Reviewers

    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.

    Commits

    Files