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

Florian Hockmann commented on TINKERPOP-1893:
---------------------------------------------

I just reproduced the issue with Gremlin.Net 3.3.2-rc1 and Gremlin Server 3.3.0 
from [the Docker image you 
mentioned|https://hub.docker.com/r/bricaud/gremlin-server/]. However, there is 
nothing wrong with the {{AddV}} step of Gremlin.Net. Instead, it turned out 
that the label simply isn't returned as part of the vertex from the server with 
this configuration, but it will be added to the created vertex.
 When I modified your fetch query to {{g.V().Label().ToList()}}, then I got a 
list of vertex labels that simply contained the label I previously added with 
{{AddV}}.

To be honest, I don't know why this occurs only with these versions, but not 
with the code we currently have in {{master}} as in both cases GraphSON 3 
should be used. Maybe someone else with more knowledge of GraphSON and 
TinkerPop I/O with the Gremlin Server could shed some light on this? 
[~spmallette] perhaps?

> AddV(string label) does not add label
> -------------------------------------
>
>                 Key: TINKERPOP-1893
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1893
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: dotnet
>    Affects Versions: 3.2.7, 3.3.1
>         Environment: Windows, IIS, docker
>            Reporter: Klaus Stephan
>            Assignee: Florian Hockmann
>            Priority: Major
>         Attachments: image-2018-02-19-15-45-22-135.png, 
> image-2018-02-19-15-45-33-986.png, image-2018-02-19-15-45-46-671.png
>
>
> public GraphTraversal<Vertex, Vertex> AddV(string label) does not add a label 
> to the vertex.
> Can someone please check this?
> Is there a workaround to set the label until the next build? (I am fairly new 
> to gremlin)
> I tried this on 3.3.2-rc1 and 3.2.8-rc1 (the majors don't work for me because 
> of TINKERPOP-1880)
> I use [https://hub.docker.com/r/bricaud/gremlin-server/] for testing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to