--- ECHO_content/ECHO_collection.py 2004/01/08 17:01:35 1.7 +++ ECHO_content/ECHO_collection.py 2004/01/14 16:09:36 1.8 @@ -117,8 +117,10 @@ def setECHO_CollectionInformation(self,c coords=[] #coordinates of for rectangles for coordstr in coordstrs: - - temco=coordstr.split(",") + try: + temco=coordstr.split(",") + except: + temco=[] #temco.append(angle) coords.append(temco) self.coords=coords[0:] @@ -220,7 +222,7 @@ class ECHO_resource(Folder): return pt() - def changeECHO_resource(self,metalink,link,context,science,practice,source_type,period,title,label,description,content_type,responsible,credits,weight,coords,viewClassification,RESPONSE=None): + def changeECHO_resource(self,metalink,link,context,science,practice,source_type,period,title,label,description,content_type,responsible,credits,weight,viewClassification="",coords="",RESPONSE=None): """Änderung der Properties""" @@ -533,7 +535,7 @@ class ECHO_collection(Folder, Persistent security.declarePublic('changeECHO_Collection') - def changeECHO_Collection(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,credits,weight,coords,sortfield="weight",RESPONSE=None): + def changeECHO_Collection(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,credits,weight,sortfield="weight",coords="",RESPONSE=None): """Änderung der Properties"""