Yes, it is working now.
Thank you very much!
:-)

On Jul 6, 2010, at 16:53, Niels Hoogeveen wrote:

> Fixed the issue with the removed method.
> 
>> From: [email protected]
>> Date: Tue, 6 Jul 2010 15:22:14 +0200
>> To: [email protected]
>> Subject: Re: [Neo4j] Meta-model component: problem with renaming classes
>> 
>> 
>> Great!
>> 
>> I've tested the 2 new methods.
>> rename() works as expected.
>> 
>> With remove() there is an issue:
>> once a class is removed, getMetaClass("name", false) returns a stale 
>> MetaModelClass object if -- and only if -- that class has been renamed 
>> before. It is expected to return null.
>> If the class has not been renamed before remove() works OK.
>> 
>> Example:
>> 
>> // create class
>> namespace.getMetaClass("My Class", true);
>> // rename class
>> namespace.rename("My Class", "New Class");
>> // remove renamed class
>> namespace.remove("New Class", true);
>> // ERROR: this call returns a stale MetaModelClass object. It is expected to 
>> return null.
>> namespace.getMetaClass("New Class", false);
>> 
>> 
>> Thank you very much for the quick action :-)
>> 
>> Cheers,
>> Jörg

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to