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

Girish Ramachandran resolved ATLAS-399.
---------------------------------------
    Resolution: Invalid

curl 'http://localhost:21000/api/atlas/types/multiple%20words%20trait' 
succeeds, hence marking the ticket invalid.

> Multi-word type query fails
> ---------------------------
>
>                 Key: ATLAS-399
>                 URL: https://issues.apache.org/jira/browse/ATLAS-399
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.6-incubating
>            Reporter: Girish Ramachandran
>
> A type query for a multi-word type fails.
> Create a multi-word type
> curl 'http://localhost:21000/api/atlas/types' -H 'Origin: 
> http://localhost:21000' -H 'Content-Type: application/json;charset=UTF-8' 
> --data-binary 
> '{"enumTypes":[],"traitTypes":[{"superTypes":[],"typeName":"multiple words 
> trait","attributeDefinitions:[],"hierarchicalMetaTypeName":"org.apache.atlas.typesystem.types.TraitType"}],"structTypes":[],"classTypes":[]}'
>  --compressed
> Type query:
> curl 'http://localhost:21000/api/atlas/types/multiple+words+trait'
> {"error":"Unknown datatype: 
> multiple+words+trait","stackTrace":"org.apache.atlas.typesystem.exception.TypeNotFoundException:
>  Unknown datatype: multiple+words+trait\n\tat 
> org.apache.atlas.typesystem.types.TypeSystem.getDataType(TypeSystem.java:166)\n\tat
>  org.apache.atlas.services.DefaultM............



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to