summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshawn.f.cook2012-02-02 14:12:08 (EST)
committer Ryan D. Brooks2012-02-02 14:12:08 (EST)
commit1872d2de281434674e8f4092c86b577814820d19 (patch)
tree2f751f853f43a54d442804df49f16f268949aedb
parent1849855a041e0a1c3d9bfa8e55ed616266a5f6ec (diff)
downloadorg.eclipse.osee-1872d2de281434674e8f4092c86b577814820d19.zip
org.eclipse.osee-1872d2de281434674e8f4092c86b577814820d19.tar.gz
org.eclipse.osee-1872d2de281434674e8f4092c86b577814820d19.tar.bz2
bug: Force reload in CopyAtsConfigurationOperation.persistOrUndoChanges
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/config/copy/CopyAtsConfigurationOperation.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/config/copy/CopyAtsConfigurationOperation.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/config/copy/CopyAtsConfigurationOperation.java
index 20cfe6e..4fca5c8 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/config/copy/CopyAtsConfigurationOperation.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/config/copy/CopyAtsConfigurationOperation.java
@@ -18,6 +18,7 @@ import java.util.Map;
import java.util.Set;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.osee.ats.core.config.ActionableItemArtifact;
+import org.eclipse.osee.ats.core.config.AtsLoadConfigArtifactsOperation;
import org.eclipse.osee.ats.core.config.TeamDefinitionArtifact;
import org.eclipse.osee.ats.core.type.AtsAttributeTypes;
import org.eclipse.osee.ats.core.type.AtsRelationTypes;
@@ -179,6 +180,8 @@ public class CopyAtsConfigurationOperation extends AbstractOperation {
private void persistOrUndoChanges() throws OseeCoreException {
if (data.isPersistChanges()) {
Artifacts.persistInTransaction("Copy ATS Configuration", newArtifacts);
+ AtsLoadConfigArtifactsOperation operation = new AtsLoadConfigArtifactsOperation();
+ operation.forceReload();
} else {
resultData.log("\n\nCleanup of created / modified artifacts\n\n");
for (Artifact artifact : newArtifacts) {