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 token lookup in ReallyUserFriendlyTypes #99

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

petschki
Copy link
Member

@petschki petschki commented Jan 16, 2025

Fix rare case when a "non friendly" type is looked up in plone.app.vocabularies.ReallyUserFriendlyTypes
This came up in collective.collectionfilter when Plone Site type is in filteritems.
The code here was basically a false urllib migration to python3

Reference:
restored originally intended behavior from here: 37535b9

…ocabularies.ReallyUserFriendlyTypes`

this came up in `collective.collectionfilter` when `Plone Site` type is in filteritems.

The code here was basically a false `urllib.parse` migration to python3
@mister-roboto
Copy link

@petschki 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!

@petschki petschki force-pushed the petschki-types-vocab-fallback branch from 8b50e9f to a9796ec Compare January 16, 2025 11:29
@petschki
Copy link
Member Author

@jenkins-plone-org please run jobs

@mauritsvanrees mauritsvanrees merged commit 5f3c42e into master Jan 16, 2025
12 checks passed
@mauritsvanrees mauritsvanrees deleted the petschki-types-vocab-fallback branch January 16, 2025 13:30
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.

3 participants