ValueError oops raised creating merge proposal with different values for review_types and reviewers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
As seen on OOPS-1502C3504 a ValueError was raised while creating a merge proposal using the API without specifying the review_types parameter
Steps to reproduce, assuming you already have a lp object:
In [1]: x = lp.branches.
In [2]: y = lp.branches.
In [3]: matsubara = lp.people[
In [4]: y.createMergePr
HTTPError: HTTP Error 500: Internal Server Error
ValueError: reviewers and review_types must be equal length.
On step 4, review_types argument was left off
What should happen:
launchpadlib should inform you the mismatch between the required arguments and not log an OOPS report.
Changed in launchpad-code: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: code-review |