[z3-five] ConnectionStateError: Shouldn't load state for 0x04 when the connection is closed
Philipp von Weitershausen
philipp at weitershausen.de
Sat Jul 29 20:26:48 CEST 2006
yuppie wrote:
> Index: pythonproducts.py
> ===================================================================
> --- pythonproducts.py (Revision 69227)
> +++ pythonproducts.py (Arbeitskopie)
> @@ -124,7 +124,7 @@
> product=self.aq_acquire('_getProducts')()._product(name)
>
> # Try to get a custom dispatcher from a Python product
> - productPkgs = product_packages(app)
> + productPkgs = product_packages(self.getPhysicalRoot())
> dispatcher_class=getattr(
> productPkgs.get(name, None),
> '__FactoryDispatcher__',
>
>
> You are invited to test this patch and to report back if it causes any
> trouble. If the patch solves the problem without creating new problems
> it should be checked in.
Seems like the patch has been verified to work. Yuppie, Rocky, ...?
Philipp
More information about the z3-five
mailing list