The throw() method inside Transfer falls over, as there is now a native throw() with a slightly different signature, which means internal exceptions don't get caught.
I'm basically waiting on Luis to finish cacheBox, so I can release Transfer with a a pluggable cache of that, and everything will be supported again. Mark On Wed, Feb 10, 2010 at 2:37 AM, Scott Brady <[email protected]> wrote: > Yeah, that's probably it. They wouldn't necessarily have an > "agreedToWaiver" object, so I'll use the has() to make sure it does > before I try to reference it. > > Where do people usually have problems with CF9? Maybe I can help > figure out what oddball thing I did to get around it :) > > Scott > > On Tue, Feb 9, 2010 at 5:10 AM, Mark Mandel <[email protected]> wrote: > > Actually that is surprising. > > > > Most people who have testing CF9 and Transfer 1.1. falls over at a > > completely different point. I'm wondering how you're actually getting > past > > that. > > > > What you are actually seeing is a bad error Exception that has been > thrown > > (which is a bug in 1.1, and is fixed in SVN builds) > > > > The error should be that there is no value for the ManyToOne that you are > > calling. I.e. it has not been set. (It should be a > > ManyToOneNotSetException) > > > > If you are trying to access a M2O that has no value, it will throw this > > error (even though its the wrong one). You should check > > 'hasagreedToWaiver()' first, to confirm th value is there. > > > > Mark > > > > > > > > > > > > On Tue, Feb 9, 2010 at 10:54 PM, Scott Brady <[email protected]> wrote: > >> > >> I guess i have a few questions then. > >> > >> Can you explain why something won't work in CF9? Everything else has > >> been working for 2+ months on this site except for this one > >> relationship, so I'd like to understand what might be causing the > >> problem. > >> > >> The page on the "Pluggable Cache" version ( > >> http://www.transfer-orm.com/?action=displayPost&ID=447 ) mentions > >> "won't work on some shared hosts". What limitations in that version > >> might cause it to not work on shared hosts. In other words, what > >> should we ask / look for in our host to see if Pluggable Cache will > >> work? > >> > >> Thanks! > >> > >> P.S. If 1.1 doesn't work on CF9, it might be helpful to note that here: > >> http://docs.transfer-orm.com/wiki/Supported_Systems.cfm > >> > >> On Mon, Feb 8, 2010 at 6:59 PM, Mark Mandel <[email protected]> > wrote: > >> > 1.1 doesn't work on CF9. > >> > > >> > You need SVN / Pluggable Cache. > >> > > >> > Mark > >> > > >> > On Tue, Feb 9, 2010 at 12:56 PM, Scott Brady <[email protected]> > wrote: > >> >> > >> >> CF9 on Apache/ Mac OS > >> >> Transfer version 1.1 > >> >> > >> >> Error info: > >> >> he error occurred in > >> >> /Library/web_roots/mysite/transfer/com/exception/Exception.cfc: line > >> >> 30 > >> >> Called from > >> >> > >> >> > /Library/web_roots/mysite/transfer/com/exception/MethodNotFoundException.cfc: > >> >> line 32 > >> >> Called from > >> >> > >> >> > /Library/web_roots/mysite/config/definitions/swimMeets.swimMeets$BBEC31E3088DE715F7AA3D23EB49ACB4.transfer: > >> >> line 1304 > >> >> Called from > >> >> > >> >> > /Library/web_roots/mysite/config/definitions/[email protected] > : > >> >> line 24 > >> >> Called from > >> >> /Library/web_roots/mysite/view/swimMeetAdminView/dsp_editMeet.cfm: > >> >> line 6 > >> >> Called from > >> >> > /Library/web_roots/mysite/parsed/do.swimmeetadminview.dsp_editmeet.cfm: > >> >> line 9 > >> >> Called from > >> >> /Library/web_roots/mysite/fusebox5/fuseboxExecutionContext.cfc: > >> >> line 44 > >> >> Called from > /Library/web_roots/mysite/fusebox5/fuseboxApplication.cfc: > >> >> line 611 > >> >> Called from /Library/web_roots/mysite/fusebox5/myFusebox.cfc: line > 313 > >> >> Called from /Library/web_roots/mysite/controller/swimMeetAdmin.cfc: > >> >> line > >> >> 56 > >> >> Called from > >> >> /Library/web_roots/mysite/parsed/swimmeetadmin.editmeet.cfm: > >> >> line 14 > >> >> Called from /Library/web_roots/mysite/fusebox5/Application.cfc: line > >> >> 228 > >> >> Called from /Library/web_roots/mysite/fusebox5/Application.cfc: line > >> >> 218 > >> >> 28 : <cfargument name="detail" hint="the detail in which to throw" > >> >> type="string" required="Yes"> > >> >> 29 : > >> >> 30 : <cfthrow type="#getMetaData(this).name#" > >> >> message="#arguments.message#" detail="#detail#"> > >> >> 31 : </cffunction> > >> >> 32 : > >> >> > >> >> > >> >> On Mon, Feb 8, 2010 at 12:31 PM, Mark Mandel <[email protected]> > >> >> wrote: > >> >> > Whats the error stack? > >> >> > What version of Transfer? > >> >> > What version of CF? > >> >> > > >> >> > Mark > >> >> > > >> >> > On Mon, Feb 8, 2010 at 12:47 PM, Scott Brady <[email protected]> > >> >> > wrote: > >> >> >> > >> >> >> I'm having the hardest time getting a very simple relationship to > >> >> >> work, and I can't figure this out -- especially since I've done > >> >> >> plenty > >> >> >> of relationships already. > >> >> >> > >> >> >> I have an object that has the following relationship defined > (where > >> >> >> this object has a column called "agreedToWaiverID"): > >> >> >> <manytoone name="agreedToWaiver"> > >> >> >> <link to="waivers.waivers" column="agreedToWaiverID" /> > >> >> >> </manytoone> > >> >> >> > >> >> >> And that other object is defined as: > >> >> >> <package name="waivers"> > >> >> >> <object name="waivers" table="SMM_waivers" > >> >> >> decorator="smmMap.com.swimmeetmaster.www.BaseDecorator"> > >> >> >> <id name="waiverID" > column="waiverID" > >> >> >> type="numeric" generate="false" /> > >> >> >> <property name="swimMeetID" > >> >> >> type="numeric" > >> >> >> column="swimMeetID" > >> >> >> nullable="false" /> > >> >> >> <property name="content" > >> >> >> type="string" > >> >> >> column="content" nullable="false" /> > >> >> >> <property name="created" > type="date" > >> >> >> column="created" nullable="false" /> > >> >> >> <property name="createdBy" > >> >> >> type="numeric" > >> >> >> column="createdBy" > >> >> >> nullable="false" /> > >> >> >> <property name="modified" > type="date" > >> >> >> column="modified" nullable="false" /> > >> >> >> <property name="modifiedBy" > >> >> >> type="numeric" > >> >> >> column="modifiedBy" > >> >> >> nullable="false" /> > >> >> >> <property name="active" > >> >> >> type="boolean" > >> >> >> column="active" nullable="false" /> > >> >> >> </object> > >> >> >> </package> > >> >> >> > >> >> >> When I try to access the relationship, say, by dumping > >> >> >> request.myObj.getAgreedToWaiver(), I get the error: > >> >> >> The method 'waivers.waivers' in 'java.lang.String' could not be > >> >> >> found. > >> >> >> > >> >> >> I've checked everything I can think of. I've made sure I can get > the > >> >> >> waivers.waivers object as its own object (i.e., > >> >> >> transfer.get("waivers.waivers",1) ) and that works. I've compared > >> >> >> that manytoone relationship to the various other ones. I've tried > >> >> >> putting waivers into the same package the parent object is in. > >> >> >> Nothing has changed. > >> >> >> > >> >> >> I must be missing something obvious, so any suggestions? > >> >> >> > >> >> >> Scott > >> >> >> > >> >> >> -- > >> >> >> ----------------------------------------- > >> >> >> Scott Brady > >> >> >> http://www.scottbrady.net/ > >> >> >> > >> >> >> -- > >> >> >> 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 > [email protected] > >> >> >> To unsubscribe from this group, send email to > >> >> >> [email protected]<transfer-dev%[email protected]> > >> >> >> For more options, visit this group at > >> >> >> http://groups.google.com/group/transfer-dev?hl=en > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > E: [email protected] > >> >> > T: http://www.twitter.com/neurotic > >> >> > W: www.compoundtheory.com > >> >> > > >> >> > Hands-on ColdFusion ORM Training @ cf.Objective() 2010 > >> >> > www.ColdFusionOrmTraining.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 [email protected] > >> >> > To unsubscribe from this group, send email to > >> >> > [email protected]<transfer-dev%[email protected]> > >> >> > For more options, visit this group at > >> >> > http://groups.google.com/group/transfer-dev?hl=en > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> ----------------------------------------- > >> >> Scott Brady > >> >> http://www.scottbrady.net/ > >> >> > >> >> -- > >> >> 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 [email protected] > >> >> To unsubscribe from this group, send email to > >> >> [email protected]<transfer-dev%[email protected]> > >> >> For more options, visit this group at > >> >> http://groups.google.com/group/transfer-dev?hl=en > >> > > >> > > >> > > >> > -- > >> > E: [email protected] > >> > T: http://www.twitter.com/neurotic > >> > W: www.compoundtheory.com > >> > > >> > Hands-on ColdFusion ORM Training @ cf.Objective() 2010 > >> > www.ColdFusionOrmTraining.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 [email protected] > >> > To unsubscribe from this group, send email to > >> > [email protected]<transfer-dev%[email protected]> > >> > For more options, visit this group at > >> > http://groups.google.com/group/transfer-dev?hl=en > >> > > >> > >> > >> > >> -- > >> ----------------------------------------- > >> Scott Brady > >> http://www.scottbrady.net/ > >> > >> -- > >> 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 [email protected] > >> To unsubscribe from this group, send email to > >> [email protected]<transfer-dev%[email protected]> > >> For more options, visit this group at > >> http://groups.google.com/group/transfer-dev?hl=en > > > > > > > > -- > > E: [email protected] > > T: http://www.twitter.com/neurotic > > W: www.compoundtheory.com > > > > Hands-on ColdFusion ORM Training @ cf.Objective() 2010 > > www.ColdFusionOrmTraining.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 [email protected] > > To unsubscribe from this group, send email to > > [email protected]<transfer-dev%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/transfer-dev?hl=en > > > > > > -- > ----------------------------------------- > Scott Brady > http://www.scottbrady.net/ > > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<transfer-dev%[email protected]> > For more options, visit this group at > http://groups.google.com/group/transfer-dev?hl=en > -- E: [email protected] T: http://www.twitter.com/neurotic W: www.compoundtheory.com Hands-on ColdFusion ORM Training @ cf.Objective() 2010 www.ColdFusionOrmTraining.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 [email protected] 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
