- Timestamp:
- 23 Mar 2007, 15:04:06 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/PatchCatalogToolXMLAdapter.py
r1626 r1629 21 21 inds[ind.attributes.items()[1][1]] = ind.attributes.items()[0][1] 22 22 #print ind.attributes.items() 23 # print "indexes: ", inds23 #from pdb import set_trace; set_trace() 24 24 na = node.attributes.items() 25 25 not_found = True 26 26 new_indexes = [] 27 27 new_columns = [] 28 #from pdb import set_trace; set_trace() 29 if na[0][1] == "WAeUP Table": 30 not_found = False 31 elif na[0][1] == "CMF Catalog": 28 if na[0][1] in ("CMF Catalog","WAeUP Table"): 32 29 #print na[1][1] 33 30 not_found = False … … 50 47 not_found = True 51 48 if not_found: 49 self._logger.info("%s modified." % na[1][1]) 52 50 #self._initProperties(node) 53 51 #self._initObjects(node) 54 self._initIndexes(node) 52 if new_indexes and len(self.context()) == 0: #disable creation of new indexes if records in the table 53 self._initIndexes(node) 55 54 self._initColumns(node) 56 55 #self._refreshCatalog() 57 56 58 self._logger.info("Catalog tool imported.")57 self._logger.info("Catalog tool %s imported." % na[1][1]) 59 58 60 59 from Products.CPSCore.exportimport.catalog import CatalogToolXMLAdapter -
WAeUP_SRP/trunk/profiles/default/online_payments_import.xml
r1625 r1629 1 1 <?xml version="1.0"?> 2 2 <?xml-stylesheet type="text/xsl" href="catalog.xsl"?> 3 <object name=" courses_catalog" meta_type="WAeUP Table">3 <object name="online_payments_import" meta_type="WAeUP Table"> 4 4 <column value="datetime"/> 5 5 <column value="student_id"/>
Note: See TracChangeset for help on using the changeset viewer.