[ 
https://issues.apache.org/jira/browse/ATLAS-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dharshana M Krishnamoorthy reopened ATLAS-4287:
-----------------------------------------------

> [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)

Reply via email to