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

stephen mallette reassigned TINKERPOP3-642:
-------------------------------------------

    Assignee: stephen mallette

> ElementIdStrategy behaves strangely if you set the ID field via the 
> underlying property name
> --------------------------------------------------------------------------------------------
>
>                 Key: TINKERPOP3-642
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-642
>             Project: TinkerPop 3
>          Issue Type: Bug
>          Components: process
>            Reporter: Bryn Cooke
>            Assignee: stephen mallette
>             Fix For: 3.0.0.GA
>
>
> Occures in Titan, but I believe that the fix is probably on the TP side
> {code:java}
> strategy = ElementIdStrategy.build().idPropertyKey("name").create()
> ig = GraphTraversalSource.build().with(strategy).create(g)
> ig.addV("name", "test");
> ig.V().valueMap();
> ==>[name:[b979ade9-e328-455d-bd53-9fc0674993f1]] //Expected "test"
> {code}
> I would expect to still be able to set the name property as normal and for it 
> to be also accessible via id or name properties.



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

Reply via email to