backport some equivalence of Zope2.12 getSite to be able to retrieve
the site from anywhere. Also setSite() in places where the published object is not in the site or before an ERP5 site installation: this is required for portal types as classes in 2.12 as PARENTS is not anymore there in the request. If some traces appear in the logs for 2.12 instances, the proper fix is to add a setSite() in the codepath leading to the point using getSite() git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38613 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment