--- a/src/pyams_content/shared/common/zmi/rename.py Mon Jun 25 16:09:33 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/rename.py Mon Jun 25 16:28:17 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