[
https://issues.apache.org/jira/browse/ATLAS-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346592#comment-17346592
]
Dharshana M Krishnamoorthy commented on ATLAS-4287:
---------------------------------------------------
Hi [~sidharthkmishra], the current issue is due to self reference being present.
Here there is not need to perform any pre-setup.
Eg:
{code:java}
glossary_1,term_1,,,,,,,,,,,,,,,,,,"glossary_1:term_1", {code}
In the above input there is term_1 of glossary_1 is created and the same is
referred in PreferredToTerms.
There is no pre-setup required and this is not a duplicate of ATLAS-4288, where
"preferredToTerms" will not be assigned as required. Hence re-opening and
removing the duplicate link
> [Atlas: Glossary Term Bulk Import] When there is self-reference in the input,
> bulk import is broken
> ---------------------------------------------------------------------------------------------------
>
> Key: ATLAS-4287
> URL: https://issues.apache.org/jira/browse/ATLAS-4287
> Project: Atlas
> Issue Type: Bug
> Reporter: Dharshana M Krishnamoorthy
> Assignee: Sidharth Kumar Mishra
> Priority: Major
>
> This was working on the previous build before that latest fix, but broken now.
> Scenario 1: Self-reference and Failure (2 failures expected at failedinfolist)
> {code:java}
> GlossaryName, TermName, ShortDescription, LongDescription, Examples,
> Abbreviation, Usage, AdditionalAttributes, TranslationTerms, ValidValuesFor,
> Synonyms, ReplacedBy, ValidValues, ReplacementTerms, SeeAlso,
> TranslatedTerms, IsA, Antonyms, Classifies, PreferredToTerms, PreferredTerms
> glossary_1,term_1,,,,,,,,,,,,,,,,,,"glossary_1:term_1|glossary_1:term_2",{code}
> Scenario 2: Self-reference and Success (1 failure expected at failedinfolist)
> {code:java}
> GlossaryName, TermName, ShortDescription, LongDescription, Examples,
> Abbreviation, Usage, AdditionalAttributes, TranslationTerms, ValidValuesFor,
> Synonyms, ReplacedBy, ValidValues, ReplacementTerms, SeeAlso,
> TranslatedTerms, IsA, Antonyms, Classifies, PreferredToTerms, PreferredTerms
> glossary_1,term_1,,,,,,,,,,,,,,,,,,"glossary_1:term_1|glossary_1:term_2",
> glossary_1,term_2 {code}
> Scenatio 3: Only self reference (1 failures expected at failedinfolist)
> {code:java}
> GlossaryName, TermName, ShortDescription, LongDescription, Examples,
> Abbreviation, Usage, AdditionalAttributes, TranslationTerms, ValidValuesFor,
> Synonyms, ReplacedBy, ValidValues, ReplacementTerms, SeeAlso,
> TranslatedTerms, IsA, Antonyms, Classifies, PreferredToTerms, PreferredTerms
> glossary_1,term_1,,,,,,,,,,,,,,,,,,"glossary_1:term_1", {code}
> In all these cases we expect failure message which mentions about self
> reference, this is currently broken.
> What makes this important is, in case of self-reference and success scenario,
> the relationship is not established
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)