This is an automated email from the ASF dual-hosted git repository.
nixon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 89f836d ATLAS-4179 : Incorrect error message when only dependent
term is not present in bulk glossary import.
89f836d is described below
commit 89f836d58f421623468d79e80b547da4d9307ea0
Author: chaitali borole <[email protected]>
AuthorDate: Fri Apr 9 14:43:17 2021 +0530
ATLAS-4179 : Incorrect error message when only dependent term is not
present in bulk glossary import.
(cherry picked from commit 3ca9650ca51b7c63c2f4f4d2cf7ff889820548f4)
---
.../src/main/java/org/apache/atlas/glossary/GlossaryTermUtils.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/repository/src/main/java/org/apache/atlas/glossary/GlossaryTermUtils.java
b/repository/src/main/java/org/apache/atlas/glossary/GlossaryTermUtils.java
index 80b09a3..f5789a7 100644
--- a/repository/src/main/java/org/apache/atlas/glossary/GlossaryTermUtils.java
+++ b/repository/src/main/java/org/apache/atlas/glossary/GlossaryTermUtils.java
@@ -688,8 +688,8 @@ public class GlossaryTermUtils extends GlossaryUtils {
relatedTermHeader.setTermGuid(glossaryTermGuid);
ret.add(relatedTermHeader);
} else {
- failedTermMsgs.add(System.lineSeparator() + "The provided
Reference Glossary and TermName does not exist in the system " +
- dataArray[1] + FileUtils.COLON_CHARACTER +
dataArray[0] + " for record with TermName : " + termName + " and GlossaryName
: " + glossaryName);
+ failedTermMsgs.add("\n" + "The provided Reference Glossary
and TermName does not exist in the system " +
+ dataArray[1] + "@" + dataArray[0] + " for record
with TermName : " + termName + " and GlossaryName : " + glossaryName);
}
}
}