[Neo tickets] #129: Node.getPropertyValues() problem in b7

neo4j.org noreply at neo4j.org
Wed Nov 12 14:05:37 CET 2008


#129: Node.getPropertyValues() problem in b7
------------------------+---------------------------------------------------
 Reporter:  andersn     |       Owner:  johans
     Type:  bug report  |      Status:  new   
 Priority:  major       |   Milestone:        
Component:  neo         |    Keywords:        
------------------------+---------------------------------------------------
 I'm moving Neoclipse from some old b7-SNAPSHOT release of neo to the final
 b7 release.

 Now the following code does not work:

 for ( Object value : currentNode.getPropertyValues() )

 The result is that value is null all the time!!

 I changed to this code:

 for ( String key : currentNode.getPropertyKeys() )
 {
     Object value = currentNode.getProperty( key );

 And this works perfect.

 I looked at the test code for the getPropertyValues() method, and it
 throws the returned values away without checking if they are correct.

-- 
Ticket URL: <https://trac.neo4j.org/ticket/129>
neo4j.org <http://trac.neo4j.org/>
The Neo4J.org Issue Tracker


More information about the Tickets mailing list