On Thu, Apr 17, 2008 at 03:35:09PM +0800, Yuan HOng wrote:
> Tyring out z3c.extfile, I added in zope.conf file the following
> product configuration section:
> 
> <product-config z3c.extfile>
>   storagedir var/filestorage
> </product-config>
> 
> This doesn't not work as expected when I am using Paste and wsgi.
> Looking into the code, I think the config function in zope.app.wsgi
> should be patched by adding:
> 
> from zope.app.appsetup.product import setProductConfigurations
> 
> def config(...)
> ...
>     if options.product_config:
>         setProductConfigurations(options.product_config)
> ...
> 
> This is exactly what zope.app.server does when starting up the server.
> 
> Or is product configuration explicitly not desired with zope.app.wsgi?

I think it's a simple bug.  Would you mind adding it to the bug tracker?
https://launchpad.net/zope3/+bugs


Marius Gedminas
-- 
"Linux: the operating system with a CLUE... Command Line User Environment".
(seen in a posting in comp.software.testing)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to