diff options
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/ArtifactCache.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/ArtifactCache.java index 620dd30143c..3ea5d29e155 100644 --- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/ArtifactCache.java +++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/ArtifactCache.java @@ -119,7 +119,7 @@ public final class ArtifactCache { public static void cacheByStaticId(Artifact artifact) throws OseeCoreException { for (String staticId : artifact.getAttributesToStringList(CoreAttributeTypes.StaticId)) { - ACTIVE_CACHE.cacheByStaticId(staticId, artifact); + cacheByStaticId(staticId, artifact); } } diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/ArtifactLoader.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/ArtifactLoader.java index 36d82143db0..0dd627ce713 100644 --- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/ArtifactLoader.java +++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/ArtifactLoader.java @@ -122,8 +122,10 @@ public final class ArtifactLoader { if (confirmer == null || confirmer.canProceed(loadedItems.size())) { loadArtifactsData(queryId, loadedItems, loadLevel, reload, historical, allowDeleted); - for (Artifact artifact : loadedItems) { - ArtifactCache.cacheByStaticId(artifact); + if (!historical) { + for (Artifact artifact : loadedItems) { + ArtifactCache.cacheByStaticId(artifact); + } } } } finally { |