-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit 16b66b2
committed
[fc] Repository: plone.app.upgrade
Branch: refs/heads/master
Date: 2021-12-04T00:38:09+01:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.app.upgrade@9be379b
Fix unicode properties.
This goes through all objects in the site and does two things:
1. Make sure lines contain only strings, instead of bytes, or worse: a combination of strings and bytes.
2. Replace deprecated ulines, utext, utoken, and ustring properties with their non-unicode variant, using native strings.
See plone/Products.CMFPlone#3305
I have just created and merged a PR that adds a utility function in Zope that we use:
zopefoundation/Zope#993
It will be included in Zope 5.4, but this is not released yet, so for now we use our own copy.
Files changed:
A news/3305.bugfix
M plone/app/upgrade/v60/alphas.py
M plone/app/upgrade/v60/configure.zcml
Repository: plone.app.upgrade
Branch: refs/heads/master
Date: 2021-12-15T00:35:41+01:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.app.upgrade@8ada20f
Fix unicode properties: fix sub objects as well.
I thought this was the default.
Files changed:
M plone/app/upgrade/v60/alphas.py
Repository: plone.app.upgrade
Branch: refs/heads/master
Date: 2021-12-20T11:53:36+01:00
Author: Jens W. Klein (jensens) <[email protected]>
Commit: plone/plone.app.upgrade@74eff47
Merge pull request #265 from plone/maurits-fix-unicode-properties
Fix unicode properties.
Files changed:
A news/3305.bugfix
M plone/app/upgrade/v60/alphas.py
M plone/app/upgrade/v60/configure.zcml1 parent bc72e42 commit 16b66b2Copy full SHA for 16b66b2
1 file changed
+31
-404
lines changed+31-404
Large diffs are not rendered by default.
0 commit comments