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 several exceptions when calling ZPublisher.utils.fix_properties. #1009

Merged

Conversation

mauritsvanrees
Copy link
Member

I created this function in Zope 5.4 and it worked for the databases I tried it on.
But on another project I ran into several exceptions.
See tracebacks in Plone:
plone/plone.app.upgrade#270

Note that plone.app.upgrade has a temporary copy of the same function.
I fixed the function there as well today:
plone/plone.app.upgrade#271

I created this function in Zope 5.4 and it worked for the databases I tried it on.
But on another project I ran into several exceptions.
See tracebacks in Plone:
plone/plone.app.upgrade#270

Note that `plone.app.upgrade` has a temporary copy of the same function.
I fixed the function there as well today:
plone/plone.app.upgrade#271
Copy link
Member

@icemac icemac left a comment

Choose a reason for hiding this comment

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

LGTM from reading the code – although I never used these fixing utilities.

@mauritsvanrees mauritsvanrees merged commit 1a81aaa into master Feb 3, 2022
@mauritsvanrees mauritsvanrees deleted the maurits-issue-270-improve-fix-unicode-properties branch February 3, 2022 08:19
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.

None yet

3 participants