Log message for revision 78390: A viewlet needs to be __of__ the view (it expects its __parent__ to be the view, not the context).
Changed: U Zope/branches/philikon-aq/lib/python/Products/Five/browser/providerexpression.py -=- Modified: Zope/branches/philikon-aq/lib/python/Products/Five/browser/providerexpression.py =================================================================== --- Zope/branches/philikon-aq/lib/python/Products/Five/browser/providerexpression.py 2007-07-27 20:24:58 UTC (rev 78389) +++ Zope/branches/philikon-aq/lib/python/Products/Five/browser/providerexpression.py 2007-07-27 20:41:55 UTC (rev 78390) @@ -42,7 +42,7 @@ raise cp_interfaces.ContentProviderLookupError(name) if getattr(provider, '__of__', None) is not None: - provider = provider.__of__(context) + provider = provider.__of__(view) # Insert the data gotten from the context addTALNamespaceData(provider, econtext) _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins