[ 
https://issues.apache.org/jira/browse/ATLAS-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285746#comment-17285746
 ] 

ASF subversion and git services commented on ATLAS-4147:
--------------------------------------------------------

Commit d99ea4b3fb6dad2c076f073d5b64b2ac5748f70a in atlas's branch 
refs/heads/master from chaitali borole
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=d99ea4b ]

ATLAS-4147 : [Atlas: Glossary Term Bulk Import] When un_supported file type is 
passed error message displays file type {0}/ATLAS-4148 : [Atlas: Glossary Term 
Bulk Import] Incorrect error code displayed when no data found in the uploaded 
file/ATLAS-4134 : [Atlas:Glossary] Update conflict error message for glossary

Signed-off-by: Pinal <pinal-shah>


> [Atlas: Glossary Term Bulk Import] When un_supported file type is passed 
> error message displays "file type {0}"
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-4147
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4147
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Dharshana M Krishnamoorthy
>            Assignee: chaitali borole
>            Priority: Major
>
>  
> Repro steps: 
> Pass unsupported file type to the glossary term bulk import
> {code:java}
> curl --request POST -u user:password 
> 'https://<cluster>/api/atlas/v2/glossary/import' \
>   -H 'Accept: application/json' \
>   -H 'Cache-Control: no-cache' \
>   -H 'X-Requested-With: XMLHttpRequest' \
>   -H 'X-XSRF-HEADER: ""' \
>   -H 'Content-Type: multipart/form-data' \
>   -F [email protected] \
>   --compressed \
>   --insecure{code}
> The following error message is displayed
> {code:java}
> {"errorCode":"ATLAS-400-00-098",
> "errorMessage":"The provided file type {0} is not supported."} {code}
> Expectation:
> Instead of "file type \{0}" actual file type should be displayed
> Suggestion:
> Along with the above message, display the supported file format too
> Example:
> {code:java}
> The provided file type .py is not supported. Supported file formats: .csv, 
> .xls{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to