You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you traverse /VirtualHostBase/http/localhost:8080/plone/folder1/VirtualHostRoot/folder2 it raises a KeyError in RESTWrapper.publishTraverse.
There should be consider a VirtualHostMonster the same as in RESTTraverse.publishTraverse.
I changed RESTWrapper.publishTraverse so that it works:
def publishTraverse(self, request, name):
# Try to get an object using default traversal
adapter = DefaultPublishTraverse(self.context, request)
try:
obj = adapter.publishTraverse(request, name)
if not IContentish.providedBy(obj) and not IService.providedBy(obj):
if isinstance(obj, VirtualHostMonster):
return obj
else:
raise KeyError
The text was updated successfully, but these errors were encountered:
If you traverse /VirtualHostBase/http/localhost:8080/plone/folder1/VirtualHostRoot/folder2 it raises a KeyError in RESTWrapper.publishTraverse.
There should be consider a VirtualHostMonster the same as in RESTTraverse.publishTraverse.
I changed RESTWrapper.publishTraverse so that it works:
The text was updated successfully, but these errors were encountered: