The fact you are using Railo and that Transfer really isn't well tested (or
tested at all) on that platform spring to mind....

Mark

On Wed, Oct 28, 2009 at 1:17 PM, whostheJBoss <dotfus...@changethings.org>wrote:

>
> I hate to beat this horse, but I'm still having this issue. The
> problem is even more prevalent now. I have many situations where I
> need to first get the array of items before using them, but doing so
> causes any add (or remove) of the many to many objects not to save.
> Any thoughts at all on this? Sorry and thanks!
>
> On Oct 9, 5:58 am, whostheJBoss <dotfus...@changethings.org> wrote:
> > I have written a custom TQL that handles my problem and all is great,
> > so this is not a question I *need* the answer to, but I'm still quite
> > curious WHY this is happening. Any thoughts on why calling
> > getPostsArray() first breaks the functionality to add a tag?
> >
> > On Sep 26, 7:53 am, whostheJBoss <dotfus...@changethings.org> wrote:
> >
> >
> >
> > > Ok, another update... if I set proxied="false" on:
> >
> > > <onetomany name="posts" lazy="true" proxied="true">
> > >                         <link to="posts.post" column="userID"/>
> > >                         <collection type="array">
> > >                         </collection>
> > > </onetomany>
> >
> > > Then it works! I can call getPostsArray() first and still add tags.
> > > So, having the onetomany posts object on users.user proxied causes the
> > > odd behavior. I don't think this should be happening.
> >
> > > Yes, it works, but this means my call to getPostsArray() gives me an
> > > array of all of my actual posts.post objects instead of the proxied
> > > object, which I need. The posts.post objects are far too heavy when
> > > retrieving 100 (or in the case of my application, 500) objects. I need
> > > the proxy.
> >
> > > Shouldn't I be able to call getPostsArray() and get proxied objects
> > > without this preventing me from adding tags.tag objects to the
> > > manytomany relationship?
> >
> > > Seems like I should...
> >
> > > I'd like to know what is is in the mechanics of making the parent's
> > > (users.user) relationship with the parent (posts.post) of the
> > > manytomany (tags.tag) proxied that breaks the adding of the manytomany
> > > on the child object (posts.post)
> >
>


-- 
E: mark.man...@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to transfer-dev@googlegroups.com
To unsubscribe from this group, send email to 
transfer-dev-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to