Skip to content

Commit

Permalink
Merged with ept/neo4j/master branch
Browse files Browse the repository at this point in the history
Should not send out events on classname changed.
This caused the replication_spec.rb to fail
  • Loading branch information
andreas committed Jun 25, 2009
1 parent 908d364 commit 469d0b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/neo4j/extensions/rest/rest_mixin.rb
Expand Up @@ -49,7 +49,8 @@ def initialize(*args)
# Explicitly index the classname of a node (required for <code>GET /nodes/MyClass</code>
# Lucene search to work).
self.class.indexer.on_property_changed(self, 'classname') # TODO reuse the event_handler instead !
Neo4j.event_handler.property_changed(self, 'classname', '', self.class.to_s)
# This caused the replication_spec.rb to fail
# Neo4j.event_handler.property_changed(self, 'classname', '', self.class.to_s)
end

# Called by the REST API if this node is accessed directly by ID. Any query parameters
Expand Down

0 comments on commit 469d0b0

Please sign in to comment.