You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/07/31 19:04:04 UTC
[jira] [Updated] (TINKERPOP3-783) asVertex Does Not Always Return
Correct State
[ https://issues.apache.org/jira/browse/TINKERPOP3-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stephen mallette updated TINKERPOP3-783:
----------------------------------------
Fix Version/s: 3.1.0-incubating
> asVertex Does Not Always Return Correct State
> ---------------------------------------------
>
> Key: TINKERPOP3-783
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-783
> Project: TinkerPop 3
> Issue Type: Bug
> Components: process
> Affects Versions: 3.0.0-incubating
> Reporter: stephen mallette
> Assignee: Marko A. Rodriguez
> Fix For: 3.0.1-incubating, 3.1.0-incubating
>
>
> In {{AddPropertyStep}} the {{asVertex}} member variable is currently set as follows:
> {code}
> this.asVertex = null != cardinality || this.vertexPropertyKeyValues.length > 0;
> {code}
> which basically means that {{asVertex}} will get the "wrong" value if {{property}} is called like this:
> {code}
> g.V().addV().property("this", "thing")
> {code}
> I would expect {{asVertex}} to return true in this case. This value is relied upon internal to the {{Step}} and by {{TraversalStrategy}} implementations to determine the nature of what the the {{Step}} is processing so it's important that it return properly under this condition.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)