Ugh. Ugh. Ugh. It wasn't the cfargument at all. It was a darn error with the MySQL and cfqueryparam, which is obvious IF CF REPORTS THE RIGHT LINE. Heh, sorry.
On 4/28/05, Raymond Camden <[EMAIL PROTECTED]> wrote: > And yes - sorry if I wasn't clear. The error isin DAO.create, > specifically on the cfargument line. > > > On 4/28/05, Raymond Camden <[EMAIL PROTECTED]> wrote: > > Both IssueBean and IssueDAO are in the same directory. This code > > worked just fine on my machine, so I don't it is a code issue. I don't > > want to change to ANY since the method expects an IssueBean, and all > > that farcry stuff.... to be honest, I don't know why his machine is > > showing all that stuff in the name of the component - but at the end > > of the day - shouldnt the last item in the list (a.b.c) be the only > > item that matters? > > > > > > On 4/28/05, Nando <[EMAIL PROTECTED]> wrote: > > > seems like the error is being thrown in the DAO.create() ... or you > > > wouldn't > > > get that far > > > > > > probably the create only accepts type IssueBean in the arguments tag. > > > > > > If the DAO's are in a different directory, i *think* that would need to be > > > fully qualified to work. Try changing the argument type to any or > > > farcry.Public.www.lighthousepro.components.IssueBean > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > > Behalf Of Raymond Camden > > > Sent: Thursday, April 28, 2005 10:26 PM > > > To: [email protected] > > > Subject: [CFCDev] issue with cfargument > > > > > > A user is reporting an error on one of my projects and it doesn't make > > > any kind of sense. The code in question does... > > > > > > <cfset iBean = createObject("component","components.IssueBean")> > > > crap, crap, crap > > > <cfset iBean = application.IssueDAO.create(iBean)> > > > > > > IssueDAO throws this error: > > > > > > The argument IBEAN passed to function create() is not of type IssueBean. > > > > > > Which doesn't make any kind of sense. I did a dump of iBean, and > > > getMetaData on iBean. It is definitely a component. The name is a bit > > > odd though: > > > > > > farcry.Public.www.lighthousepro.components.IssueBean > > > > > > Shouldn't the last entry on the item be all that matters? > > > > > > -- > > > ======================================================================= > > > Raymond Camden, Director of Development for Mindseye, Inc > > > (www.mindseye.com) > > > > > > Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) > > > > > > Email : [EMAIL PROTECTED] > > > Blog : ray.camdenfamily.com > > > Yahoo IM : cfjedimaster > > > > > > "My ally is the Force, and a powerful ally it is." - Yoda > > > > > > ---------------------------------------------------------- > > > You are subscribed to cfcdev. To unsubscribe, send an email to > > > [email protected] with the words 'unsubscribe cfcdev' as the subject of > > > the > > > email. > > > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > > > (www.cfxhosting.com). > > > > > > An archive of the CFCDev list is available at > > > www.mail-archive.com/[email protected] > > > > > > ---------------------------------------------------------- > > > You are subscribed to cfcdev. To unsubscribe, send an email to > > > [email protected] with the words 'unsubscribe cfcdev' as the subject of > > > the email. > > > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting > > > (www.cfxhosting.com). > > > > > > An archive of the CFCDev list is available at > > > www.mail-archive.com/[email protected] > > > > > > > > > > -- > > ======================================================================= > > Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com) > > > > Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) > > > > Email : [EMAIL PROTECTED] > > Blog : ray.camdenfamily.com > > Yahoo IM : cfjedimaster > > > > "My ally is the Force, and a powerful ally it is." - Yoda > > > > -- > ======================================================================= > Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com) > > Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) > > Email : [EMAIL PROTECTED] > Blog : ray.camdenfamily.com > Yahoo IM : cfjedimaster > > "My ally is the Force, and a powerful ally it is." - Yoda > -- ======================================================================= Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : ray.camdenfamily.com Yahoo IM : cfjedimaster "My ally is the Force, and a powerful ally it is." - Yoda ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
