Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2017-02-03 12:25:47 -0500
committerdonald.g.dunne2017-02-06 13:24:55 -0500
commit353409f9d17085f3ca1fb9d2c2338a95876382e5 (patch)
tree7b887b49c57e52aef141a3e62297bdf39da1ab46
parentdc39553d8c669afa3f6fa2e35e34a6fca412b828 (diff)
downloadorg.eclipse.osee-353409f9d17085f3ca1fb9d2c2338a95876382e5.tar.gz
org.eclipse.osee-353409f9d17085f3ca1fb9d2c2338a95876382e5.tar.xz
org.eclipse.osee-353409f9d17085f3ca1fb9d2c2338a95876382e5.zip
bug[ats_ATS346138]: Duplicate CPA throws Exception
-rw-r--r--plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/cpa/CpaDuplicator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/cpa/CpaDuplicator.java b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/cpa/CpaDuplicator.java
index 56a375a84d..b49f2ef4c6 100644
--- a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/cpa/CpaDuplicator.java
+++ b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/cpa/CpaDuplicator.java
@@ -44,7 +44,7 @@ public class CpaDuplicator {
public XResultData duplicate() {
XResultData rd = new XResultData(false);
- ArtifactReadable cpaArt = atsServer.getArtifactByGuid(duplicate.getCpaUuid());
+ ArtifactReadable cpaArt = (ArtifactReadable) atsServer.getArtifactById(duplicate.getCpaUuid());
String atsId = cpaArt.getSoleAttributeValue(AtsAttributeTypes.AtsId, null);
String duplicatePcrId = "";
if (!Strings.isValid(atsId)) {

Back to the top