OOPS creating duplicate merge proposal using API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Paul Hummer |
Bug Description
As seen on OOPS-1488EA174 a BranchMergeProp
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
Out[4]: <branch_
In [5]: y.createMergePr
HTTPError: HTTP Error 500: Internal Server Error
There is already a branch merge proposal registered for branch lp://staging/
Related branches
- Graham Binns (community): Approve (code)
-
Diff: 43 lines (+15/-0)2 files modifiedlib/lp/code/errors.py (+3/-0)
lib/lp/code/stories/webservice/xx-branchmergeproposal.txt (+12/-0)
tags: | added: trivial |
Changed in launchpad-code: | |
status: | Triaged → In Progress |
assignee: | nobody → Paul Hummer (rockstar) |
milestone: | none → 10.03 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
I haven't tried but this might be triggerable via web ui as well.