Bug in DataImportAPI


I think there is a bug in the DataImportAPI.java code.

at Line 48:
public ImportExecution importFromFile(ImportConfiguration importConfiguration, FileDescriptor fileToImport, Map<String, Object> defaultValues) throws FileStorageException {
return importFromFile(importConfiguration, fileToImport, Collections.emptyMap(),null);

I think the “Collections.emptyMap()” should be “defaultValues”.


This is a community add-on.
If you have already identified the source of the bug, maybe you’ll create a pull request with the proposed changes?