[vreg] explicit reset, no need to reload appobjects module on reloading because of schema changes
--- a/cwvreg.py Tue Aug 11 12:20:13 2009 +0200
+++ b/cwvreg.py Tue Aug 11 12:21:09 2009 +0200
@@ -277,7 +277,9 @@
self.schema = schema
clear_cache(self, 'rqlhelper')
# now we can load application's web objects
- self.register_objects(self.config.vregistry_path())
+ searchpath = self.config.vregistry_path()
+ self.reset(searchpath, force_reload=False)
+ self.register_objects(searchpath, force_reload=False)
# map lowered entity type names to their actual name
self.case_insensitive_etypes = {}
for etype in self.schema.entities():