[Product-Developers] Layout problem: Plone seeing a "ghost" portlet?

Maarten Nieber maarten at usecm.com
Mon Feb 20 15:06:29 UTC 2012

I managed to reproduce the problem in my local machine. 
A debug session inside SunburstView.getColumnsClass reveals that in the right 
column, there are two portlets, of which one is available (called 'news').

When I go to the @@manage-portlets view, it only shows (in the Parent portlets 
section) the 'Navigation' portlet (this is the portlet shown in the left 

Any idea why Plone thinks that the News portlet should be shown in the right 
column, but at the same time does not list this portlet in the @@manage-portlets 

This is my debug session:

from zope.component import queryMultiAdapter
from plone.portlets.interfaces import IPortletManager
from zope.component import queryUtility
from plone.portlets.interfaces import IPortletManagerRenderer
context = aq_inner(self.context)
manager = queryUtility(IPortletManager, name='plone.rightcolumn')
renderer = queryMultiAdapter((context, self.request, view, manager), 

[{'category': 'context', 'available': 1, 
'hash': '706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f72610a6e657773', 
'name': u'news', 
'assignment': <plone.app.portlets.portlets.news.Assignment object at 0xeac3e2c>, 
'manager': 'plone.rightcolumn', 
'renderer': <plone.app.portlets.portlets.news.Renderer object at 0xeb673ec>, 
'key': '/ra'}, 

{'category': 'context', 'available': 0, 
'name': u'events', 
'assignment': <plone.app.portlets.portlets.events.Assignment object at 
'manager': 'plone.rightcolumn', 
'renderer': <plone.app.portlets.portlets.events.Renderer object at 0xeb6712c>, 
'key': '/ra'}]

More information about the Product-Developers mailing list