atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-476) Update type attribute with Reserved characters updated the original type as unknown
Date Thu, 18 Feb 2016 09:15:18 GMT

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

Shwetha G S commented on ATLAS-476:
-----------------------------------

TransientTypeSystem is a wrapper around TypeSystem and is used to validate the new types.
Every request uses new TransientTypeSystem. Instead of updating types as part of TransientTypeSystem.defineTypes(),
we should commit the types after step3. We will also need locking for types to handle concurrent
updates(there is another bug already)

> Update type attribute with Reserved characters updated the original type as unknown
> -----------------------------------------------------------------------------------
>
>                 Key: ATLAS-476
>                 URL: https://issues.apache.org/jira/browse/ATLAS-476
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: trunk
>         Environment: sandbox
>            Reporter: Chethana
>            Assignee: Hemanth Yamijala
>            Priority: Blocker
>             Fix For: 0.7-incubating
>
>         Attachments: 1.log
>
>
> create a type with required attribute
> try to get this type created - the type data is returned
> try update this type by adding attribute with attribute name consisting of a reserved
character eg:test$
> this throws exception.
> Now use to get call to get the previously created type
> Expected:
> The type should not be updated.
> Actual:
> "error": "Unknown datatype: className_update_vsvrbzqaqg",
> "stackTrace": "org.apache.atlas.typesystem.exception.TypeNotFoundException: Unknown datatype:
className_update_vsvrbzqaqg\n\tat 



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

Mime
View raw message