Changeset 6778


Ignore:
Timestamp:
Mar 17, 2015, 3:34:57 PM (7 years ago)
Author:
Nicklas Nordborg
Message:

References #1930: Can't run batch importers in 'create' mode when using multiple lines per item

Updated batch importer test code to use 'create' mode when importing raw bioassays. This current fails Item already exists: Raw bioassay[Name=Raw data 2] on line 4 in file...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4-stable/src/test/TestItemImporter.java

    r6576 r6778  
    385385      request.setParameterValue("idMethod", "name");
    386386    }
    387     request.setParameterValue("mode", "create+update");
     387    request.setParameterValue("mode", itemType == Item.RAWBIOASSAY ? "create" : "create+update");
    388388    request.setParameterValue("charset", "UTF-8");
    389389  }
Note: See TracChangeset for help on using the changeset viewer.