Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The lead image behavior does not work on the Plone site root #576

Open
ale-rt opened this issue Dec 12, 2020 · 0 comments · May be fixed by #577
Open

The lead image behavior does not work on the Plone site root #576

ale-rt opened this issue Dec 12, 2020 · 0 comments · May be fixed by #577

Comments

@ale-rt
Copy link
Member

ale-rt commented Dec 12, 2020

When I assign the leadimage behavior to the Plone Site, it fails with:

  File "/home/ale/.buildout/eggs/Zope-5.0-py3.8.egg/OFS/Traversable.py", line 244, in unrestrictedTraverse                                                                                                                                                                                                                  
    raise AttributeError(name)    
AttributeError: @@images

This can be fixed by making the ILeadImage marker interface inherit from IImageScaleTraversable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant