--- ECHO_content/VLPExtension.py 2006/01/20 15:12:57 1.54 +++ ECHO_content/VLPExtension.py 2006/02/13 16:41:49 1.55 @@ -426,10 +426,11 @@ class VLP_collection(ECHO_collection): def generateSubCollections(self,errorsTXT=""): """erzeuge subcollectionen""" - founds=self.ZSQLSimpleSearch("select * from vl_literature where referencetype in ('Edited Book'),'(Book)','(Collection)','(JournalVolume)')") + founds=self.ZSQLSimpleSearch("select * from vl_literature where referencetype in ('(Edited Book)','(Book)','(Collection)','(JournalVolume)')") self.REQUEST.RESPONSE.write("

Create Subcollections

\n") for found in founds: + try: foundCol=self.ZopeFind(self,obj_ids=[found.reference]) if foundCol: @@ -475,6 +476,7 @@ class VLP_collection(ECHO_collection): files=os.listdir(self.vlp_basis) errorsTXT+="

New Ressources

" + for fileName in files: if fileName[0:3]=="lit":