You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes leadimage should be optional. A view uses it if available, thus this can be solved like so:
from zope.interface import Interface
try:
from plone.app.contenttypes.behaviors.leadimage import ILeadImage
except ImportError:
class ILeadImage(Interface):
"""Dummy lead image interface if plone.app.contenttypes missing"""
Shouldn't this be a dependency in setup.py? Without it I get an error on vanilla Plone 4.3.11
The text was updated successfully, but these errors were encountered: