Skip to content

Commit

Permalink
[fc] Repository: plone.app.upgrade
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2021-12-04T00:38:09+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
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) <maurits@vanrees.org>
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) <jk@kleinundpartner.at>
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.zcml
  • Loading branch information
jensens committed Dec 20, 2021
1 parent bc72e42 commit 16b66b2
Showing 1 changed file with 31 additions and 404 deletions.
435 changes: 31 additions & 404 deletions last_commit.txt

Large diffs are not rendered by default.

0 comments on commit 16b66b2

Please sign in to comment.