•  
      request #20109 Pullrequest reviewers REST endpoint can throw an unhandled exception
    Infos
    #20109
    Yannis ROSSETTO (rossettoy)
    2021-08-21 10:24
    2021-03-19 15:36
    21702
    Details
    Pullrequest reviewers REST endpoint can throw an unhandled exception

    Given a private project, with a Git repository and a pullrequest. If I add a project member as a reviewer of the pullrequest, and then remove him/her as a project member, then the API endpoint pull_requests/:id/reviewers returns an error 500.

    Pull Request
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Yannis ROSSETTO (rossettoy)
    Under implementation
    Empty
    Attachments
    Empty
    References

    Follow-ups

    User avatar

    @lorentzr said in the review: "Display problem: user is added on reviewers tab even if the rest route returns an error. This disappear after reloading the page"

    This will be handled in a dedicated patch.


    • Status changed from Under review to Under implementation