[Erp5-report] r9831 - /erp5/trunk/products/ERP5Form/ListBox.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 12 16:26:53 CEST 2006
Author: vincent
Date: Tue Sep 12 16:26:32 2006
New Revision: 9831
URL: http://svn.erp5.org?rev=9831&view=rev
Log:
Fix bug in zope 2.8 : context.asHTML.REQUEST is a <Special Object Used to Force Acquisition> hich resolves to an empty string instead of a REQUEST, which makes the code fail in Shared.DC.Scripts.Bindings.py:_getTraverseSubpath.
Modified:
erp5/trunk/products/ERP5Form/ListBox.py
Modified: erp5/trunk/products/ERP5Form/ListBox.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/ListBox.py?rev=9831&r1=9830&r2=9831&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ListBox.py (original)
+++ erp5/trunk/products/ERP5Form/ListBox.py Tue Sep 12 16:26:32 2006
@@ -2081,7 +2081,7 @@
return aq_base(getattr(self.getContext(), method_id)).__of__(context)
# Otherwise, use the default one.
- return context.asHTML
+ return context.asHTML.__of__(context)
def render(self, **kw):
"""Render the data in HTML.
More information about the Erp5-report
mailing list