When removing a portlet, i get "AttributeError: 'PortletManagerKSS' object has
no attribute 'unrestrictedTraverse'" (http://pastie.org/1065095). It means i
can only remove portlets by first disabling javascript and reloading
@@manage-portlets.

I have a custom product which has a named utility to store some variables from
a configlet. A custom viewlet uses this configlet in its __init__ method to set
these variables (File
"/home/kees/groningerforum/src/forumbase.theme/forumbase/theme/browser/viewlets.py",
line 236, in __init__ 'groningerforum_controlpanel). The part where getUtility
is called is where the error begins: Putting a pdb here shows the viewlet can't
lookup the named utility because after portlet deletion, the portlet manager is
the context.

How could i fix this?

Kees




_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to