do not store the default import path to module settings, since it changes for each new case

This commit is contained in:
Samuel H. Kenyon 2014-04-30 18:15:47 -04:00
parent 431525ebca
commit bb24548c46

View File

@ -94,7 +94,7 @@ public class ExternalResultsIngestModule extends IngestModuleAdapter implements
if (importPath == null) { if (importPath == null) {
// By default, we create the import path and provide it to the third party executable as an argument // By default, we create the import path and provide it to the third party executable as an argument
importPath = Case.getCurrentCase().getModulesOutputDirAbsPath() + File.separator + MODULE_DIR + jobId + File.separator + IMPORT_DIR; importPath = Case.getCurrentCase().getModulesOutputDirAbsPath() + File.separator + MODULE_DIR + jobId + File.separator + IMPORT_DIR;
ModuleSettings.setConfigSetting(cfgModuleName, CFG_XML_FILEPATH, importPath); // Do not store the default import path to module settings, since it changes for each new case
} }
cmdStr = ModuleSettings.getConfigSetting(cfgModuleName, CFG_CMD_STR); cmdStr = ModuleSettings.getConfigSetting(cfgModuleName, CFG_CMD_STR);
if (cmdStr == null) { if (cmdStr == null) {