Commit 0e6d8dc5 authored by Alain Takoudjou's avatar Alain Takoudjou

Try to fix KeyError in function Folder._getOb when installing bt in web_site_module

erp5_web_shadir override _getOb function in VirtualFolderMixin, but all parameters are not well propagated thereafter.
We add missing parameter 'default'.
parent 5734be14
......@@ -83,4 +83,4 @@ class VirtualFolderMixin:
if document_url is not None:
return self.getPortalObject().unrestrictedTraverse(document_url)
return Folder._getOb(self, id, **kw)
return Folder._getOb(self, id, default=default, **kw)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment