Ignore:
Timestamp:
22 May 2015, 10:12:45 (10 years ago)
Author:
Henrik Bettermann
Message:

Remove quite old bug in doImport: Replace empty strings *and* lists with
ignore-markers in update *and* create mode.

File:
1 edited

Legend:

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

    r12193 r12986  
    205205    name,roles,title,public_name,phone,email,--ERRORS--
    206206    henrik,"['waeup.PortalManager', 'waeup.ImportManager']",Henrik Bettermann,Admin,+49-234-567,henrik@abc.de,This object already exists. Skipping.
    207     anne,['waeup.Nonsense'],Anne Palina,,+49-234-567,anne@abc.de,roles: invalid role
     207    anne,['waeup.Nonsense'],Anne Palina,<IGNORE>,+49-234-567,anne@abc.de,roles: invalid role
    208208
    209209    >>> finished_file = dc_path + '/finished/newusers_zope.mgr.create.finished.csv'
    210210    >>> print open(finished_file).read()
    211211    name,roles,title,public_name,phone,email
    212     isouaba,[],Issoufou Abba Moussa,Chief Developer,+49-234-567,isouaba@abc.de
     212    isouaba,<IGNORE>,Issoufou Abba Moussa,Chief Developer,+49-234-567,isouaba@abc.de
    213213
    214214The finished-file contains the dataset we could import, while the
Note: See TracChangeset for help on using the changeset viewer.