--- a/src/pyams_content/shared/common/zmi/owner.py Tue May 28 14:35:20 2019 +0200
+++ b/src/pyams_content/shared/common/zmi/owner.py Tue Jun 25 16:25:09 2019 +0200
@@ -103,7 +103,7 @@
roles = IWfSharedContentRoles(version)
previous_owner = next(iter(roles.owner))
roles.owner = {new_owner}
- contributors = roles.contributors
+ contributors = roles.contributors.copy() # don't modify contributors in place!!
if data.get('keep_owner_as_contributor'):
if previous_owner not in contributors:
contributors.add(previous_owner)