Anyone with ERTag mojo:

Assuming I have a parent entity "Animal" and sub-entities that inherit from it, 
"Cat" and "Dog" - I can't search for all "Animal" with the tag "fur".

It seems that if I tag a Cat EO with "fur" and  Dog EO with "fur" the updates 
for those tags go to the tables cattag and dogtag, respectively. I've made the 
parent entity "Animal" a taggable so that I can use the recommend ERTag 
searching here: 

http://wiki.wocommunity.org/display/documentation/ERTaggable

But if I search for all Animal with the tag "fur" it appears to perform a query 
against the animaltag table - which doesn't get updated if I tag sub-entities. 
Hence, no results.

Can anyone recommend a best practice for this situation? In full disclosure I 
did not use migrations to create the ERTag setup - since I don't, uh, use 
migrations. I'm sure that's awful. :-)

Tim
UCLA GSE&IS
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to