ERXPartialEntity doesn't return correct values for classPropertyNames method
ERXPartialEntity doesn't return correct values for classPropertyNames method
- Subject: ERXPartialEntity doesn't return correct values for classPropertyNames method
- From: David Holt <email@hidden>
- Date: Fri, 24 May 2013 16:20:53 -0700
Hi all (and especially David Aspinall or Paul Hoadly),
I've just discovered that when you call classPropertyNames() on an Entity that has a partial associated with it, the base classPropertyNames are returned correctly, but ALL of the properties are returned for the partial class. This applies to both attributes and relationships. Does anyone know why that might be?
Here is what I used to test it in my Application:
log.info("Class properties for ERXPartialEntity " + EOUtilities.entityForClass(ERXEC.newEditingContext(), Person.class).classPropertyNames());
Thanks, David |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden