diff --git a/plone/app/portlets/portlets/navigation.py b/plone/app/portlets/portlets/navigation.py index e29816aa..b1fe8b89 100644 --- a/plone/app/portlets/portlets/navigation.py +++ b/plone/app/portlets/portlets/navigation.py @@ -356,6 +356,8 @@ def getMimeTypeIcon(self, node): mtt = getToolByName(self.context, 'mimetypes_registry') if fileo.contentType: ctype = mtt.lookup(fileo.contentType) + if not ctype: + return None return os.path.join( portal_url, guess_icon_path(ctype[0])