Ignore:
Timestamp:
3 May 2012, 07:25:34 (12 years ago)
Author:
Henrik Bettermann
Message:

When using catalogs existing objects must not necessarily be in the same container.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/batchprocessing.txt

    r7954 r8330  
    488488    >>> print open(pending_file).read()
    489489    title_prefix,code,title,--ERRORS--
    490     faculty,FAC1,Faculty 1,This object already exists in the same container. Skipping.
     490    faculty,FAC1,Faculty 1,This object already exists. Skipping.
    491491
    492492    >>> finished_file = dc_path + '/finished/newfaculties_zope.mgr.create.finished.csv'
  • main/waeup.kofa/trunk/src/waeup/kofa/students/studylevel.py

    r7811 r8330  
    2222import grok
    2323from zope.component.interfaces import IFactory
     24from zope.interface import implementedBy
    2425from waeup.kofa.students.interfaces import (
    2526    IStudentStudyLevel, IStudentNavigation, ICourseTicket)
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py

    r8304 r8330  
    322322                    self.writeFailedRow(
    323323                        failed_writer, string_row,
    324                         "This object already exists in the same container. "
    325                         "Skipping.")
     324                        "This object already exists. Skipping.")
    326325                    continue
    327326                obj = self.callFactory()
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.txt

    r8227 r8330  
    323323    >>> print open(result[3]).read()
    324324    owner,name,taxpayer,dinoports,--ERRORS--
    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.
     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.
    329329
    330330This way we can correct the faulty entries and afterwards retry without
     
    364364    >>> print open(result[3], 'rb').read()
    365365    name,dinoports,--ERRORS--
    366     Barneys Home,2,This object already exists in the same container. Skipping.
    367     Wilmas Asylum,1,This object already exists in the same container. Skipping.
    368     Freds Dinoburgers,10,This object already exists in the same container. Skipping.
    369     Joeys Drive-in,110,This object already exists in the same container. Skipping.
     366    Barneys Home,2,This object already exists. Skipping.
     367    Wilmas Asylum,1,This object already exists. Skipping.
     368    Freds Dinoburgers,10,This object already exists. Skipping.
     369    Joeys Drive-in,110,This object already exists. Skipping.
    370370
    371371
Note: See TracChangeset for help on using the changeset viewer.