[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - connection.py:1.7

Guido van Rossum guido@python.org
Thu, 24 Apr 2003 11:07:25 -0400


Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv324

Modified Files:
	connection.py 
Log Message:
By removing 'permission' from the 'arguments' attribute of the
<addform> directive, solve the problem that even though permission is
declared optional, a KeyError occurred if it wasn't specified.


=== Zope3/src/zope/app/interfaces/services/connection.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/interfaces/services/connection.py:1.6	Thu Apr 24 11:00:43 2003
+++ Zope3/src/zope/app/interfaces/services/connection.py	Thu Apr 24 11:07:25 2003
@@ -44,12 +44,6 @@
         readonly=True,
         required=True)
 
-    # XXX There's still a problem with the inherited 'permission'.
-    #     Even though it is not optional, when not specified
-    #     upon creation, the creation fails with a
-    #       KeyError: 'permission'
-    #     in zope/app/browser/form/add.py on line 85.
-
 
 class ILocalConnectionService(IConnectionService, INameComponentConfigurable):
     """A local (placeful) connection service"""