cannot call getBranches on a source package using the API
Bug #579602 reported by
Ursula Junque
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Ian Booth |
Bug Description
As seen on OOPS-1592EC825:
ForbiddenAttr
Steps to reproduce:
>>> ubuntu = lp.distribution
>>> gedit = ubuntu.
>>> gedit.getBranches()
HTTPError: HTTP Error 500: Internal Server Error
Related branches
lp:~wallyworld/launchpad/getBranches-dsp-579602
- Richard Harding (community): Approve
-
Diff: 35 lines (+14/-0)2 files modifiedlib/lp/registry/configure.zcml (+1/-0)
lib/lp/registry/doc/distribution-sourcepackage.txt (+13/-0)
affects: | soyuz → launchpad-code |
Changed in launchpad: | |
importance: | Medium → Critical |
Changed in launchpad: | |
importance: | Critical → High |
summary: |
- Trying to getBranches of a source package using the API oopses with - ForbiddenAttribute + cannot call getBranches on a source package using the API |
tags: | removed: oops |
Changed in launchpad: | |
importance: | High → Critical |
tags: | added: oops |
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Ian Booth (wallyworld) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It appears there is no IHasBranches for Distribution Source Packages.