From 96e00312676ed9d1a33eb5512838a3d98e4233ff Mon Sep 17 00:00:00 2001 From: Eugene Livis Date: Wed, 3 Mar 2021 10:55:43 -0500 Subject: [PATCH] Fix --- .../sleuthkit/autopsy/casemodule/ImageDSProcessor.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Core/src/org/sleuthkit/autopsy/casemodule/ImageDSProcessor.java b/Core/src/org/sleuthkit/autopsy/casemodule/ImageDSProcessor.java index 92335e75b1..ee78eca31b 100644 --- a/Core/src/org/sleuthkit/autopsy/casemodule/ImageDSProcessor.java +++ b/Core/src/org/sleuthkit/autopsy/casemodule/ImageDSProcessor.java @@ -496,6 +496,7 @@ public class ImageDSProcessor implements DataSourceProcessor, AutoIngestDataSour @Override public void process(String deviceId, Path dataSourcePath, Host host, DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callBack) { + // this method does not use the config panel this.deviceId = deviceId; this.imagePath = dataSourcePath.toString(); this.sectorSize = 0; @@ -517,6 +518,9 @@ public class ImageDSProcessor implements DataSourceProcessor, AutoIngestDataSour } doAddImageProcess(deviceId, dataSourcePath.toString(), sectorSize, timeZone, ignoreFatOrphanFiles, null, null, null, progressMonitor, callBack); + + // reset the settings so that by default the config panel is used next time (JIRA-7337). + reset(); } @Override @@ -526,6 +530,7 @@ public class ImageDSProcessor implements DataSourceProcessor, AutoIngestDataSour @Override public IngestStream processWithIngestStream(String deviceId, Path dataSourcePath, Host host, IngestJobSettings settings, DataSourceProcessorProgressMonitor progressMonitor, DataSourceProcessorCallback callBack) { + // this method does not use the config panel this.deviceId = deviceId; this.imagePath = dataSourcePath.toString(); this.sectorSize = 0; @@ -558,6 +563,10 @@ public class ImageDSProcessor implements DataSourceProcessor, AutoIngestDataSour } doAddImageProcess(deviceId, dataSourcePath.toString(), sectorSize, timeZone, ignoreFatOrphanFiles, null, null, null, progressMonitor, callBack); + + // reset the settings so that by default the config panel is used next time (JIRA-7337). + reset(); + return ingestStream; }