r13734 - Products.Marshall/trunk/Products/Marshall/namespaces

"Matt Hamilton" <[email protected]> Wed, 20 Jul 2011 16:11:10 +0000
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: matth
Date: Wed Jul 20 16:11:08 2011
New Revision: 13734

Modified:
   Products.Marshall/trunk/Products/Marshall/namespaces/atns.py
Log:
Fixed typo which prevents the deserializing of multiValued fields

Modified: Products.Marshall/trunk/Products/Marshall/namespaces/atns.py
==============================================================================
--- Products.Marshall/trunk/Products/Marshall/namespaces/atns.py	(original)
+++ Products.Marshall/trunk/Products/Marshall/namespaces/atns.py	Wed Jul 20 16:11:08 2011
@@ -164,7 +164,7 @@
             data['mimetype'] = mimetype
         
         if data.has_key('value'):
-            svalues = data[value]
+            svalues = data['value']
             if not isinstance(svalues, list):
                 data['value'] = svalues = [svalues]
             svalues.append(value)

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/