--- a/src/pyams_content/shared/common/zmi/rename.py Mon Jun 25 16:15:14 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/rename.py Mon Jun 25 16:33:32 2018 +0200
@@ -88,7 +88,7 @@
def update_content(self, content, data):
data = data.get(self, data)
old_name = content.__name__
- new_name = data['__name__'] = translate_string(content.__name__, spaces='-', keep_chars='-')
+ new_name = data['__name__'] = translate_string(data['__name__'], spaces='-', keep_chars='-')
changes = super(SiteContainerRenameForm, self).update_content(content, data)
if changes:
# revert rename to adjust container properties