[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/configuration - configure.zcml:1.4
Jim Fulton
jim@zope.com
Mon, 24 Mar 2003 06:10:09 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services/configuration
In directory cvs.zope.org:/tmp/cvs-serv21429/src/zope/app/browser/services/configuration
Modified Files:
configure.zcml
Log Message:
Fixed a bug in configuration handling.
You should (and now do) get an error if you try to register a
configuration and there is no *local*, meaning in this site, service
to register with. You now get an understandable (I hope) error
telling you to add a local service.
=== Zope3/src/zope/app/browser/services/configuration/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/services/configuration/configure.zcml:1.3 Sun Mar 23 17:03:27 2003
+++ Zope3/src/zope/app/browser/services/configuration/configure.zcml Mon Mar 24 06:09:38 2003
@@ -72,10 +72,18 @@
<page name="action.html" attribute="action" />
</view>
+<!-- Error views -->
<page
for="
zope.app.interfaces.services.configuration.INoConfigurationManagerError"
+ name="index.html"
+ permission="zope.Public"
+ template="../../exception/user.pt"
+ class="zope.app.browser.exception.user.UserErrorView"
+ />
+<page
+ for="zope.app.interfaces.services.configuration.INoLocalServiceError"
name="index.html"
permission="zope.Public"
template="../../exception/user.pt"