unrestrictedTraverse() relies on REQUEST
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Low
|
Unassigned |
Bug Description
unrestrictedTra
Sample traceback:
import ZPublisher, Zope
Traceback (most recent call last):
File "<string>", line 1, in ?
File "src/collective
sys.
File "/srv/plone/
exit_code = updater.updateAll()
File "/srv/plone/
mountpoints = list(self.
File "/srv/plone/
return [ brain.getObject() for brain in brains ]
File "/srv/plone/
target = parent.
File "/srv/plone/
return self.unrestrict
File "/srv/plone/
next = queryMultiAdapt
AttributeError: REQUEST
This is a corner case inside exception handler, but it should still be able to work without REQUEST.
Changed in zope2: | |
importance: | Undecided → Low |
status: | New → Confirmed |
You can also bump into this bug when running the upgrade profile for PloneHelpCenter (Plone 4.0.2 with Zope 2.12.13).