Dharshana M Krishnamoorthy created ATLAS-4148:
-------------------------------------------------
Summary: [Atlas: Glossary Term Bulk Import] Incorrect error code
displayed when no data found in the uploaded file
Key: ATLAS-4148
URL: https://issues.apache.org/jira/browse/ATLAS-4148
Project: Atlas
Issue Type: Bug
Components: atlas-core
Reporter: Dharshana M Krishnamoorthy
Steps to repro:
{code:java}
GlossaryName, TermName, ShortDescription, LongDescription, Examples,
Abbreviation, Usage, AdditionalAttributes, TranslationTerms, ValidValuesFor,
Synonyms, ReplacedBy, ValidValues, ReplacementTerms, SeeAlso, TranslatedTerms,
IsA, Antonyms, Classifies, PreferredToTerms, PreferredTerms
This file is written for testing supported format with incorrect data format.
So this file contains some random text.
{code}
When this file is used as an input, the error code displayed is incorrect:
{code:java}
{
"errorCode":"ATLAS-404-00-014",
"errorMessage":"No data found in the uploaded file"
}{code}
Expectation:
Since this is client side error 400 should be displayed
--
This message was sent by Atlassian Jira
(v8.3.4#803005)