• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
problem with ERTag and inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with ERTag and inheritance


  • Subject: problem with ERTag and inheritance
  • From: Tim Worman <email@hidden>
  • Date: Mon, 30 Jul 2012 16:27:14 -0700

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Is it possible to access the displayGroup of an embedded list page?
  • Next by Date: Re: Fixed the WO 5.4.3 2GB file/form upload limitations
  • Previous by thread: Project Wonder Usage survey
  • Next by thread: need help with rule
  • Index(es):
    • Date
    • Thread