Mark, You are absolutely correct about the big blue box. I just forgot to remove the proxied attribute from the object definition.
Thanks Qasim On Wed, Nov 26, 2008 at 3:53 PM, Mark Mandel <[EMAIL PROTECTED]> wrote: > > I figured the big blue box at the top was enough to warn people? > http://docs.transfer-orm.com/wiki/Using_TransferObject_Proxies.cfm > > Now I have to write meaningful errors too? > > :D > > Mark > > On Thu, Nov 27, 2008 at 4:05 AM, Bob Silverberg > <[EMAIL PROTECTED]> wrote: > > > > Proxies don't work on CF7 because they rely on onMissingMethod. > > > > Perhaps Transfer could throw a more meaningful error, eg. by checking > > the version, but my guess is that Mark's relying on people to just not > > do it. > > > > Cheers, > > Bob > > > > On Wed, Nov 26, 2008 at 11:44 AM, Qasim Rasheed <[EMAIL PROTECTED]> > wrote: > >> Transfer Experts, > >> I am trying to move an application from my local box (CF8) to the > >> development area (CF7). The application runs fine of local box and both > >> server use the same transfer version. Here is my transfer config file > >> <package name="poll"> > >> <object name="poll" table="poll" > >> decorator="poll.extensions.components.poll.Poll" sequence="seq_poll"> > >> <id name="id" type="numeric" /> > >> ..... > >> <manytomany name="Administrator" table="lnk_poll_secuser" lazy="true" > >> proxied="true"> > >> <link column="user_id" to="security.user" /> > >> <link column="poll_id" to="poll.poll" /> > >> <collection type="struct"> > >> <key property="username" /> > >> </collection> > >> </manytomany> > >> </object> > >> </package> > >> .... > >> <package name="security"> > >> <object name="user" table="sec_user" > >> decorator="poll.extensions.components.security.User" > >> sequence="seq_sec_user"> > >> <id name="id" type="numeric" /> > >> ... > >> </object> > >> </package> > >> Here is simple test code which creates the error. There is an id in the > >> database for poll = 1, user = 1 and a row in lnk_poll_secuser for the > >> corresponding records > >> <cfset obj = transfer.get( 'poll.poll', 1 ) /> > >> <cfdump var="#obj.getAdministratorIterator()#"> > >> <cfabort> > >> Now I keep getting the following error > >> Message : The method 'getid' could not be found in component > >> D:\CFExtensions\transfer1_1\com\TransferObjectProxy.cfc. > >> > >> Any help is greatly appreciated > >> Qasim > >> > > >> > > > > > > > > -- > > Bob Silverberg > > www.silverwareconsulting.com > > > > > > > > > > > -- > E: [EMAIL PROTECTED] > 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---