[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - connection.zcml:1.3

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


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

Modified Files:
	connection.zcml 
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/browser/services/connection.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/services/connection.zcml:1.2	Wed Apr 23 17:05:32 2003
+++ Zope3/src/zope/app/browser/services/connection.zcml	Thu Apr 24 11:07:07 2003
@@ -66,7 +66,7 @@
       class=".connection.AddConnectionConfiguration"
       permission="zope.ManageServices"
       content_factory="zope.app.services.connection.ConnectionConfiguration"
-      arguments="name componentPath permission"
+      arguments="name componentPath"
       set_after_add="status"
       fields="name componentPath permission status"
       />