mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Ingest progress snapshot fix for file ingest modules
This commit is contained in:
parent
e43bb45e77
commit
e03e5bd3b6
@ -66,12 +66,6 @@ final class FileIngestPipeline extends IngestTaskPipeline<FileIngestTask> {
|
||||
try {
|
||||
file = task.getFile();
|
||||
} catch (TskCoreException ex) {
|
||||
/*
|
||||
* In practice, the file should have already been lazily looked up
|
||||
* and cached in the file task when the task was enqueued by the
|
||||
* ingest tasks scheduler. Therefore there is no case database query
|
||||
* here and there should be no TskCoreException.
|
||||
*/
|
||||
throw new IngestTaskPipelineException(String.format("Failed to get file (file objId = %d)", task.getFileId()), ex); //NON-NLS
|
||||
}
|
||||
try {
|
||||
|
@ -769,9 +769,8 @@ public class IngestManager implements IngestProgressSnapshotProvider {
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the ingest progress snapshot for data source ingest task. This
|
||||
* method should be called every time a new ingest module starts working on
|
||||
* the task.
|
||||
* Updates the ingest progress snapshot for a data source level ingest task
|
||||
* when a new ingest module starts working on the task.
|
||||
*
|
||||
* @param task The data source ingest task.
|
||||
* @param currentModuleName The display name of the currently processing
|
||||
@ -790,9 +789,8 @@ public class IngestManager implements IngestProgressSnapshotProvider {
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the ingest progress snapshot for data source ingest task. This
|
||||
* method should be called every time a new ingest module starts working on
|
||||
* the task.
|
||||
* Updates the ingest progress snapshot for a file ingest task when a new
|
||||
* ingest module starts working on the task.
|
||||
*
|
||||
* @param task The file ingest task.
|
||||
* @param currentModuleName The display name of the currently processing
|
||||
|
Loading…
x
Reference in New Issue
Block a user