changeset 2723:ebc41545962a

Fixed failing modify view
author Ajitesh Gupta <ajgupta93@gmail.com>
date Fri, 15 Aug 2014 02:30:22 +0530
parents b8680cd6cf91
children 7c0cefe454cd
files MoinMoin/constants/keys.py MoinMoin/items/__init__.py
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/constants/keys.py	Thu Aug 14 21:45:02 2014 +0530
+++ b/MoinMoin/constants/keys.py	Fri Aug 15 02:30:22 2014 +0530
@@ -62,7 +62,6 @@
     ADDRESS,
     DATAID,
     EXTERNALLINKS,
-    ITEMID,
     ITEMLINKS,
     ITEMTRANSCLUSIONS,
     MTIME,
--- a/MoinMoin/items/__init__.py	Thu Aug 14 21:45:02 2014 +0530
+++ b/MoinMoin/items/__init__.py	Fri Aug 15 02:30:22 2014 +0530
@@ -522,8 +522,7 @@
                       suitable as arguments of the same names to pass to
                       item.modify
             """
-            meta = dict(item.meta)
-            meta.update(self['meta_form'].value.copy())
+            meta = self['meta_form'].value.copy()
             meta.update(item.meta_text_to_dict(self['extra_meta_text'].value))
             data, contenttype_guessed = self['content_form']._dump(item.content)
             comment = self['comment'].value