From 55feb83cf7f79d414e24f6aca2bde511a65337a5 Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Thu, 13 Dec 2018 14:32:35 -0500 Subject: [PATCH] 4491 fix the diplay of results from extracted data sources for common property search --- .../commonfilesearch/CentralRepoCommonAttributeInstance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/commonfilesearch/CentralRepoCommonAttributeInstance.java b/Core/src/org/sleuthkit/autopsy/commonfilesearch/CentralRepoCommonAttributeInstance.java index cfcc40e603..7847b31ca4 100644 --- a/Core/src/org/sleuthkit/autopsy/commonfilesearch/CentralRepoCommonAttributeInstance.java +++ b/Core/src/org/sleuthkit/autopsy/commonfilesearch/CentralRepoCommonAttributeInstance.java @@ -81,7 +81,7 @@ final public class CentralRepoCommonAttributeInstance extends AbstractCommonAttr // Find the correct data source Optional dataSource = tskDb.getDataSources().stream() - .filter(p -> p.getDeviceId().equals(currentAttribute.getCorrelationDataSource().getDeviceID())) + .filter(p -> p.getId() == currentAttribute.getCorrelationDataSource().getDataSourceObjectID()) .findFirst(); if (!dataSource.isPresent()) { LOGGER.log(Level.WARNING, String.format("Unable to find data source with device ID %s in the current case", currentAttribute.getCorrelationDataSource().getDeviceID()));