decoratedresultset does not support prejoins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Opinion
|
Undecided
|
Unassigned |
Bug Description
If you see
"File "lib/lp/
Failed example:
for bug in view.similar_bugs:
print "Bug %s: %s" % (bug.id, bug.title)
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest bug-views.
File "/home/
result = self.fn(inst)
File "/home/
ForbiddenAt
"
Then you've run into decoratedresultset not supporting prejoin.
I'm not sure that it should, as prejoin is a pretty fragile construction, but some points in LP disable prejoins lower layers establish (which has a number of problems), and if you add a DRS in between these points and the lower layer, security proxies will pop up and beat you on the head.
I'm going to set this as Opinion, and try searching for it, as I'm mainly writing this to help other folk encountering it.
Ok, its found by +filebug, not by the regular bug search; thats good enough for me.