diff options
author | donald.g.dunne | 2018-09-27 19:06:39 +0000 |
---|---|---|
committer | Donald Dunne | 2018-10-15 23:10:34 +0000 |
commit | 38807b632178a64d57b465e430d3f5ece59868a4 (patch) | |
tree | 4e333449a171d9f19f3ab23f7a6585dad5a703e6 /plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet | |
parent | a02be67f14551848e4c1fd471fd0d5a74754cbc3 (diff) | |
download | org.eclipse.osee-38807b632178a64d57b465e430d3f5ece59868a4.tar.gz org.eclipse.osee-38807b632178a64d57b465e430d3f5ece59868a4.tar.xz org.eclipse.osee-38807b632178a64d57b465e430d3f5ece59868a4.zip |
bug: Reload user artifact before saving settings
Change-Id: I667d7763078c865b1db958b345db98616ffdebc9
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet')
-rw-r--r-- | plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/Artifact.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/Artifact.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/Artifact.java index 1044ea18bef..913bbf1576d 100644 --- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/Artifact.java +++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/Artifact.java @@ -659,7 +659,7 @@ public class Artifact extends FullyNamedIdentity<String> implements IArtifact, A if (soleAttributes.isEmpty()) { if (!isAttributeTypeValid(attributeType)) { throw new OseeArgumentException( - "The attribute type %s is not valid for artifacts of type [%s] on artifact [%s] on branch [%s]", + "The attribute type %s is not valid for artifacts of type [%s] on artifact %s on branch [%s]", attributeType, getArtifactTypeName(), toStringWithId(), getBranch()); } throw new AttributeDoesNotExist("Attribute of type [%s] could not be found on artifact [%s] on branch [%s]", @@ -709,7 +709,7 @@ public class Artifact extends FullyNamedIdentity<String> implements IArtifact, A return value; } else if (soleAttributes.size() > 1) { throw new MultipleAttributesExist( - "Attribute [%s] must have exactly one instance. It currently has %d for artifact [%s] on branch [%s]", + "Attribute [%s] must have exactly one instance. It currently has %d for artifact %s on branch [%s]", attributeType, soleAttributes.size(), toStringWithId(), getBranch()); } else { return defaultReturnValue; @@ -764,7 +764,7 @@ public class Artifact extends FullyNamedIdentity<String> implements IArtifact, A return value; } else if (soleAttributes.size() > 1) { throw new MultipleAttributesExist( - "Attribute [%s] must have exactly one instance. It currently has %d for artifact [%s] on branch [%s]", + "Attribute [%s] must have exactly one instance. It currently has %d for artifact %s on branch [%s]", attributeType, soleAttributes.size(), toStringWithId(), getBranch()); } else { return defaultReturnValue; |