Changeset 6244 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 30 May 2011, 07:17:03 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/batchprocessing.txt
r5989 r6244 476 476 >>> print open(pending_file).read() 477 477 title_prefix,--IGNORE--,code,title,--ERRORS-- 478 faculty,static,FAC1,Faculty 1,This object already exists . Skipping.478 faculty,static,FAC1,Faculty 1,This object already exists in the same container. Skipping. 479 479 480 480 >>> finished_file = dc_path + '/finished/newfaculties_zope.mgr.create.finished.csv' -
main/waeup.sirp/trunk/src/waeup/sirp/university/certificate.txt
r6217 r6244 338 338 >>> mycourse.code = 'MYCOURSE' 339 339 >>> mydept.courses.addCourse(mycourse) 340 'Course added (for tests only).'341 340 >>> mycert = createObject('waeup.Certificate') 342 341 >>> mycert.code = 'MYCERT' 343 342 >>> mydept.certificates.addCertificate(mycert) 344 'Certificate added (for tests only).'345 343 >>> mycert.addCourseRef(mycourse) 346 344 -
main/waeup.sirp/trunk/src/waeup/sirp/university/courserefs.txt
r6217 r6244 48 48 >>> course.code = 'CRS1' 49 49 >>> fac['DEPT'].courses.addCourse(course) 50 'Course added.'51 50 52 51 Now let's add another department, which will also hold a course: … … 59 58 >>> course.code = 'CRS2' 60 59 >>> fac['DEPT2'].courses.addCourse(course) 61 'Course added.'62 60 63 61 Finally, we add a certificate with referrers (certificate courses) to … … 67 65 >>> cert.code = 'CERT' 68 66 >>> fac['DEPT'].certificates.addCertificate(cert) 69 'Certificate added.'70 67 71 68 >>> fac['DEPT'].certificates['CERT'].addCourseRef( -
main/waeup.sirp/trunk/src/waeup/sirp/utils/batching.txt
r4985 r6244 323 323 >>> print open(result[3]).read() 324 324 owner,name,taxpayer,dinoports,--ERRORS-- 325 Barney,Barneys Home,1,2,This object already exists . Skipping.326 Wilma,Wilmas Asylum,1,1,This object already exists . Skipping.327 Fred,Freds Dinoburgers,0,10,This object already exists . Skipping.328 Joey,Joeys Drive-in,0,110,This object already exists . Skipping.325 Barney,Barneys Home,1,2,This object already exists in the same container. Skipping. 326 Wilma,Wilmas Asylum,1,1,This object already exists in the same container. Skipping. 327 Fred,Freds Dinoburgers,0,10,This object already exists in the same container. Skipping. 328 Joey,Joeys Drive-in,0,110,This object already exists in the same container. Skipping. 329 329 330 330 This way we can correct the faulty entries and afterwards retry without … … 364 364 >>> print open(result[3], 'rb').read() 365 365 --IGNORE--,name,--IGNORE--,dinoports,--ERRORS-- 366 Barney,Barneys Home,1,2,This object already exists . Skipping.367 Wilma,Wilmas Asylum,1,1,This object already exists . Skipping.368 Fred,Freds Dinoburgers,0,10,This object already exists . Skipping.369 Joey,Joeys Drive-in,0,110,This object already exists . Skipping.366 Barney,Barneys Home,1,2,This object already exists in the same container. Skipping. 367 Wilma,Wilmas Asylum,1,1,This object already exists in the same container. Skipping. 368 Fred,Freds Dinoburgers,0,10,This object already exists in the same container. Skipping. 369 Joey,Joeys Drive-in,0,110,This object already exists in the same container. Skipping. 370 370 371 371 The first ignored column ('owner') provides different contents than
Note: See TracChangeset for help on using the changeset viewer.