Damaged bug, was: Changing bug attribute raises exception, if no attribute was previously read.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bug-repo-syncer |
Invalid
|
Low
|
Unassigned |
Bug Description
When a program wants to change attributes of a bug, it must first read one
attribute of the bug; otherwise the program fails with an exception from deep
inside Launchpadlib.
This script triggers the error:
from launchpadlib.
launchpad = Launchpad.
lp_task = launchpad.load(
'https:/
lp_bug = lp_task.[@[@BUGLINK "bug
#Un-commenting"@lp @]@] this makes the error go away.
#lp_bug.title
lp_bug.title = "Test bug"
lp_bug.description = "A bug for testing Launchpadlib."
#Fails with:
#Traceback (most recent call last):
# File "lp_problem.py", line 8, in <module>
# lp_bug.title = "Test bug"
# File "/usr/local/
#site-packages/
# if not self.lp_
# File "/usr/local/
#site-packages/
# return self._get_
# File "/usr/local/
#site-packages/
# _get_external_
# if self._wadl_
# File "/usr/local/
#line 452, in get_parameter
# definition = self._find_
# File "/usr/local/
#line 564, in _find_represent
# "Resource is not bound to any representation, and no media "
#wadllib.
# representation, and no media media type was specified.
Changed in bug-repo-syncer: | |
importance: | Undecided → Low |
milestone: | none → 0.3.0 |
status: | New → Confirmed |
description: | updated |
summary: |
- dummy + Damaged bug, was: Changing bug attribute raises exception, if no + attribute was previously read. |
Changed in bug-repo-syncer: | |
status: | Confirmed → Invalid |