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

Fix aliased helpers #3642

Merged
merged 2 commits into from
Sep 15, 2022
Merged

Fix aliased helpers #3642

merged 2 commits into from
Sep 15, 2022

Conversation

ale-rt
Copy link
Member

@ale-rt ale-rt commented Sep 13, 2022

There was a typo, the last dot in the alias should be a column

Fixes #3641
Refs #3615

@mister-roboto
Copy link

@ale-rt 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!

@ale-rt
Copy link
Member Author

ale-rt commented Sep 13, 2022

ale@avo:~/Code/plone/projects/coredev/6.0$ ./bin/zopepy 
>>> from Products.CMFPlone.utils import getAllowedSizes
<console>:1: DeprecationWarning: getAllowedSizes is deprecated. Import from plone.namedfile.utils instead (will be removed in Plone 7)
>>> from Products.CMFPlone.utils import getQuality
<console>:1: DeprecationWarning: getQuality is deprecated. Import from plone.namedfile.utils instead (will be removed in Plone 7)
>>> from Products.CMFPlone.utils import getHighPixelDensityScales
<console>:1: DeprecationWarning: getHighPixelDensityScales is deprecated. Import from plone.namedfile.utils instead (will be removed in Plone 7)

@ale-rt
Copy link
Member Author

ale-rt commented Sep 13, 2022

@jenkins-plone-org please run jobs

@ale-rt
Copy link
Member Author

ale-rt commented Sep 13, 2022

Test fail with:

SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 100

Copy link
Sponsor 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.

LGTM. The robot tests have been failing on jenkins node 4. I could retry them to try to run on a different node, but if this error was not caught before, I don't think even passing tests will confirm it is fixed. You demonstrated it working on the console. So I'd say go ahead and merge.

@ale-rt
Copy link
Member Author

ale-rt commented Sep 15, 2022

@jenkins-plone-org please run jobs

@ale-rt
Copy link
Member Author

ale-rt commented Sep 15, 2022

@jenkins-plone-org please run jobs

@ale-rt
Copy link
Member Author

ale-rt commented Sep 15, 2022

Also 3.10 was successful but failed to report back (known issue).
I am merging

@ale-rt ale-rt merged commit b5eb938 into master Sep 15, 2022
@ale-rt ale-rt deleted the 3641.bugfix branch September 15, 2022 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken alias for getAllowedSizes
4 participants