Ignore:
Timestamp:
28 Sep 2011, 17:08:05 (13 years ago)
Author:
Henrik Bettermann
Message:

Skip ignored columns in failed and finished data files.

In the finished data file we now clearly see which fields have been imported. In the pending data file (failed data file) ignored columns are omitted.

We could think about saving the original import file elsewhere.

File:
1 edited

Legend:

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

    r6823 r6824  
    9595    ['Applicants Container Importer',
    9696     'Student Importer',
     97     'StudentStudyCourse Importer',
    9798     'CertificateCourse Importer',
    9899     'Certificate Importer',
     
    254255
    255256    >>> importerselect = browser.getControl(name='importer')
    256     >>> importerselect.getControl('Course Importer', index=1).selected = True
     257    >>> importerselect.getControl('Course Importer', index=2).selected = True
    257258    >>> modeselect = browser.getControl(name='mode')
    258259    >>> modeselect.getControl(value='create').selected = True
     
    484485    >>> pending_file = dc_path + '/newfaculties_zope.mgr.create.pending.csv'
    485486    >>> print open(pending_file).read()
    486     title_prefix,--IGNORE--,code,title,--ERRORS--
     487    title_prefix,code,title,--ERRORS--
    487488    faculty,FAC1,Faculty 1,This object already exists in the same container. Skipping.
    488489
    489490    >>> finished_file = dc_path + '/finished/newfaculties_zope.mgr.create.finished.csv'
    490491    >>> print open(finished_file).read()
    491     title_prefix,--IGNORE--,code,title
     492    title_prefix,code,title
    492493    school,FAC4,Faculty 4
    493494
Note: See TracChangeset for help on using the changeset viewer.