--- a/cwvreg.py Thu Jul 02 10:36:25 2009 +0200
+++ b/cwvreg.py Mon Jul 06 19:55:18 2009 +0200
@@ -96,6 +96,11 @@
clear_cache(self, 'rqlhelper')
# now we can load application's web objects
self.register_objects(self.config.vregistry_path())
+ # map lowered entity type names to their actual name
+ self.case_insensitive_etypes = {}
+ for etype in self.schema.entities():
+ etype = str(etype)
+ self.case_insensitive_etypes[etype.lower()] = etype
def update_schema(self, schema):
"""update .schema attribute on registered objects, necessary for some