--- MPIWGWeb/MPIWGStaff.py 2008/06/24 07:55:05 1.10.2.38 +++ MPIWGWeb/MPIWGStaff.py 2008/06/25 06:41:25 1.10.2.39 @@ -64,7 +64,7 @@ def createNewDBEntry(self,publish_the_da queryStr="INSERT INTO personal_www (%s) VALUES (%s)"%(columnlist,insertStr) self.ZSQLQuery("SET DATESTYLE TO 'German'") self.ZSQLQuery(queryStr) - logging.error("QQQQ %s:"%queryStr) + logging.info("QQQQ %s:"%queryStr) #currentwork if not (current_work==""): queryStr="INSERT INTO current_work (key_main,current,publish) VALUES ('%s',%s,'%s')"%(key,self.ZSQLQuote(current_work),"yes") @@ -443,7 +443,7 @@ class MPIWGStaff(CatalogAware,ZSQLExtend bookId="b%06i" % newId self.ZSQLAdd(argv,_table="bibliography",reference_type=_docType,id=bookId) - logging.info("XXXXXXXXXXXXYYYYYYYYYY") + self.ZSQLAdd(_useRequest=False,_table="publications",id_gen_bib=bookId,key_main=self.getDBId(),publish='yes') self.updatePublicationDB(personId=self.getDBId()) @@ -525,7 +525,6 @@ class MPIWGStaff(CatalogAware,ZSQLExtend if not (type(entries) is ListType): entries=[entries] - logging.info("XXXXXXXXXXXXXXXXXXXXXXX") for bibId in entries: query="INSERT INTO %s " % "publications"