--- a/cwvreg.py Wed Aug 26 15:00:46 2009 +0200
+++ b/cwvreg.py Thu Aug 27 13:02:45 2009 +0200
@@ -150,9 +150,9 @@
objects = self['Any']
assert len(objects) == 1, objects
cls = objects[0]
- if cls.__id__ == etype:
- cls.__initialize__(self.schema)
- return cls
+ # make a copy event if cls.__id__ == etype, else we may have pb for
+ # client application using multiple connections to different
+ # repositories (eg shingouz)
cls = dump_class(cls, etype)
cls.__id__ = etype
cls.__initialize__(self.schema)