mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +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 {
|
try {
|
||||||
file = task.getFile();
|
file = task.getFile();
|
||||||
} catch (TskCoreException ex) {
|
} 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
|
throw new IngestTaskPipelineException(String.format("Failed to get file (file objId = %d)", task.getFileId()), ex); //NON-NLS
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
@ -769,9 +769,8 @@ public class IngestManager implements IngestProgressSnapshotProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the ingest progress snapshot for data source ingest task. This
|
* Updates the ingest progress snapshot for a data source level ingest task
|
||||||
* method should be called every time a new ingest module starts working on
|
* when a new ingest module starts working on the task.
|
||||||
* the task.
|
|
||||||
*
|
*
|
||||||
* @param task The data source ingest task.
|
* @param task The data source ingest task.
|
||||||
* @param currentModuleName The display name of the currently processing
|
* @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
|
* Updates the ingest progress snapshot for a file ingest task when a new
|
||||||
* method should be called every time a new ingest module starts working on
|
* ingest module starts working on the task.
|
||||||
* the task.
|
|
||||||
*
|
*
|
||||||
* @param task The file ingest task.
|
* @param task The file ingest task.
|
||||||
* @param currentModuleName The display name of the currently processing
|
* @param currentModuleName The display name of the currently processing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user