Comment 1 for bug 271029

Revision history for this message
Diogo Matsubara (matsubara) wrote :

A similar OOPS happened: OOPS-1488EA884, this time using the anonymous Launchpad object.

To reproduce:

>>> anon_lp = Launchpad.login_anonymously('foo')
>>> ubuntu = anon_lp.distributions['ubuntu']
>>> lucid = ubuntu.getSeries(name_or_version='lucid')
>>> sp = lucid.getSourcePackage(name='gcc-defaults')
>>> lp_project = anon_lp.projects['launchpad']
>>> devel_series = lp_project.getSeries(name="devel")
>>> sp.productseries = devel_series
>>> sp.lp_save()
HTTPError: HTTP Error 500: Internal Server Error
Response body:
---
ForbiddenAttribute