Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid W. Miller2021-01-08 21:34:19 +0000
committerDavid Miller2021-01-20 16:15:57 +0000
commit4259b03bee20074b7ae3c7c8e0b33953180d04d4 (patch)
treecb48dc95136f3259ef9d983aa1514d2a7e10e22d
parent317ec648c51a5bebb9aca8281820bde97e0913b3 (diff)
downloadorg.eclipse.osee-4259b03bee20074b7ae3c7c8e0b33953180d04d4.tar.gz
org.eclipse.osee-4259b03bee20074b7ae3c7c8e0b33953180d04d4.tar.xz
org.eclipse.osee-4259b03bee20074b7ae3c7c8e0b33953180d04d4.zip
bug[TW18591]: Fix minor issues with High Low trace
Change-Id: Ic892b77cf1ae812e28b71cdf3bf87aee1a8d3be6 Signed-off-by: David W. Miller <david.w.miller6@boeing.com>
-rw-r--r--plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/internal/PublishLowHighReqStreamingOutput.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/internal/PublishLowHighReqStreamingOutput.java b/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/internal/PublishLowHighReqStreamingOutput.java
index 5495acdd064..1051acab237 100644
--- a/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/internal/PublishLowHighReqStreamingOutput.java
+++ b/plugins/org.eclipse.osee.define.rest/src/org/eclipse/osee/define/rest/internal/PublishLowHighReqStreamingOutput.java
@@ -150,13 +150,17 @@ public final class PublishLowHighReqStreamingOutput implements StreamingOutput {
String newline = "";
for (ArtifactReadable subSysReq : req.getRelated(CoreRelationTypes.RequirementTrace_HigherLevelRequirement)) {
builtRows[4].append(newline);
- builtRows[4].append(subSysReq.getSoleAttributeAsString(CoreAttributeTypes.ParagraphNumber));
+ try {
+ builtRows[4].append(subSysReq.getSoleAttributeAsString(CoreAttributeTypes.ParagraphNumber));
+ } catch (Exception ex) {
+ builtRows[4].append("Paragraph # unavailable");
+ }
builtRows[5].append(newline);
builtRows[5].append(subSysReq.getName());
builtRows[6].append(newline);
builtRows[6].append(subSysReq.getArtifactType().getName());
String subsystem = "Not specified";
- if (req.getAttributeCount(CoreAttributeTypes.Subsystem) > 0) {
+ if (subSysReq.getAttributeCount(CoreAttributeTypes.Subsystem) > 0) {
subsystem = subSysReq.getSoleAttributeAsString(CoreAttributeTypes.Subsystem);
}
builtRows[7].append(newline);

Back to the top