--- ECHO_content/ECHO_collection.py 2005/01/31 11:15:50 1.207 +++ ECHO_content/ECHO_collection.py 2005/02/02 18:13:59 1.208 @@ -2373,6 +2373,8 @@ class ECHO_root(Folder,Persistent,Implic def checkResource(self,id): """checks if a resource is in the tree, gives back none or list of resources""" + if not id: + id="" splitted=id.split("/") id=splitted[len(splitted)-1] if hasattr(self,"_v_checkResource") and self._v_checkResource.has_key(id): #existiert ein cache und id ist bereits drin?