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
column).
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
view?
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),
IPortletManagerRenderer)
renderer.allPortlets()
[{'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,
'hash':
'706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f72610a6576656e7473',
'name': u'events',
'assignment': <plone.app.portlets.portlets.events.Assignment object at
0xeac3dec>,
'manager': 'plone.rightcolumn',
'renderer': <plone.app.portlets.portlets.events.Renderer object at 0xeb6712c>,
'key': '/ra'}]
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers