[ https://issues.apache.org/jira/browse/TINKERPOP-919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stephen mallette updated TINKERPOP-919: --------------------------------------- Fix Version/s: (was: 3.2.3) We might want to save this for 3.3.x now that we're so deep into 3.2.x as new tests could break stuff. It's worth noting that TinkerGraph does support same key/value properties...you just have to configure it to work with multi-properties by default: {code} gremlin> graph = TinkerGraph.open() ==>tinkergraph[vertices:0 edges:0] gremlin> conf = new BaseConfiguration() ==>org.apache.commons.configuration.BaseConfiguration@47d93e0d gremlin> conf.setProperty("gremlin.tinkergraph.defaultVertexPropertyCardinality","list") gremlin> graph = TinkerGraph.open(conf) ==>tinkergraph[vertices:0 edges:0] gremlin> v = graph.addVertex() ==>v[0] gremlin> v.property("name","marko") ==>vp[name->marko] gremlin> v.property("name","marko") ==>vp[name->marko] gremlin> v.properties('name') ==>vp[name->marko] ==>vp[name->marko] {code} or set the cardinality explicitly: {code} gremlin> v.property(list, "name","marko") ==>vp[name->marko] gremlin> v.property(list, "name","marko") ==>vp[name->marko] gremlin> v.properties('name') ==>vp[name->marko] ==>vp[name->marko] {code} > Features needs to specify whether 2 vertex properties with same key/value is > allowed. > ------------------------------------------------------------------------------------- > > Key: TINKERPOP-919 > URL: https://issues.apache.org/jira/browse/TINKERPOP-919 > Project: TinkerPop > Issue Type: Improvement > Components: structure, test-suite, tinkergraph > Affects Versions: 3.0.2-incubating > Reporter: Marko A. Rodriguez > Assignee: stephen mallette > > TinkerGraph does not support two vertex properties with the same key/value. > {code} > gremlin> graph = TinkerGraph.open() > ==>tinkergraph[vertices:0 edges:0] > gremlin> v = graph.addVertex() > ==>v[0] > gremlin> v.property("name","marko") > ==>vp[name->marko] > gremlin> v.property("name","marko") > ==>vp[name->marko] > gremlin> v.properties("name") > ==>vp[name->marko] > {code} > I just noted we don't have this as a {{Feature}} and we should (w/ respective > test cases). -- This message was sent by Atlassian JIRA (v6.3.4#6332)