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

Added adapter scales for INavigationRoot #165

Closed
wants to merge 3 commits into from

Conversation

sneridagh
Copy link
Member

Closes: #164

@mister-roboto
Copy link

@sneridagh thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@sneridagh sneridagh changed the title Fix scales adapter on plone site Added adapter scales for INavigationRoot Nov 8, 2024
@sneridagh sneridagh changed the title Added adapter scales for INavigationRoot Added adapter scales for INavigationRoot Nov 8, 2024
@sneridagh
Copy link
Member Author

@jenkins-plone-org please run jobs

Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should make sure the portal has the IImageScaleTraversable marker, instead of registering this new view. It is more likely to work in general instead of just fixing one piece. And I don't really understand this NavigationRootScaling class or why it exists, so I want to avoid adding more dependencies on it.

However, I couldn't reproduce the problem and I found that the portal already has IImageScaleTraversable -- see my comment #164 (comment)

So we have to investigate why it didn't work for you and understand the situation better before we try to fix it.

@davisagli
Copy link
Member

Closing since it seems this was already fixed in Plone 6.1

@davisagli davisagli closed this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plone site breaks if has an image field (filled) on it
4 participants