-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Plone site breaks if has an image field (filled) on it #164
Comments
@sneridagh I can't reproduce this. I created a (classic UI) Plone site in buildout.coredev, added the lead image behavior to the Plone Site, and edited the portal to add a lead image. It displays correctly using the /@@images view, even without your proposed fix. On the console, I can see that the portal has the right interface:
I can't figure out where it comes from though! |
@sneridagh I can reproduce the error on demo.plone.org, and with volto core using the docker backend
|
I can reproduce it with volto + Plone 6.0.13, but not volto + 6.1.b1. I'm not sure what change explains this, but it seems it was already fixed somehow. |
Plone site does not implements
IImageScaleTraversable
, so the multiadapter lookup fails onimages
for it.We could make implement the Plone site
IImageScaleTraversable
but I guess this is easier.I've found that there is already an adapter that return the scales for the
INavigationRoot
but it has another name assigned?So I'd add the missing one on the right name:
@mauritsvanrees Do you know why it's under another name? It's only used once in all the core code: https://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/browser/search.py#L301
PR incoming...
The text was updated successfully, but these errors were encountered: