Ignore:
Timestamp:
3 May 2012, 07:25:34 (13 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/utils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.