Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

OrientVertex.getPropertyKeys results change after calling v.getProperty("@rid") #1760

Closed
odbuser2 opened this Issue · 1 comment

3 participants

@odbuser2

OrientDB 1.6.0-SNAPSHOT from sometime last week.

OrientVertex.getPropertyKeys results change if you call v.getProperty("@rid") but is unaffected by calling another "@" prefixed property such as "@class".

Example:

OrientGraph graph = ...;
Vertex v = graph.getVertex(...); //let's say v has "aaa" and "bbb" as properties
System.out.println(v.getPropertyKeys());
v.getProperty("@rid");
v.getProperty("@class");
System.out.println(v.getPropertyKeys());
Output-------------------------
prints: keys : [aaa, bbb]
prints: keys : [@rid, aaa, bbb]

If "@" type property keys should either always be returned in getPropertyKeys or should never return.

@lvca lvca self-assigned this
@lvca lvca was unassigned by tglman
@tglman tglman self-assigned this
@tglman tglman added the In Progress label
@tglman
Collaborator

added the test case, was not reproducilble so i consider it fixed

@tglman tglman closed this
@lvca lvca removed the In Progress label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.