>From the CFML Changes:

CFLOOPChanged: setting collection to a struct in cfloop is deprecated. Use
structsort() instead

..i'm wrong...the problem is on the struct...



----- Original Message -----
From: "Whiterod, David (PLNSA)" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, July 04, 2002 9:13 AM
Subject: RE: CFMX bug ??


> > I heard that on CFMX the loop over a list is deprecated..
>
> Please say it ain't so!
>
> Seriously ... if this is so my only question is why????
>
> -----Original Message-----
> From: Gianluca Pinelli [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 4 July 2002 4:36 PM
> To: CF-Talk
> Subject: Re: CFMX bug ??
>
>
> I heard that on CFMX the loop over a list is deprecated..
>
> Luca
>
> ----- Original Message -----
> From: "Matthew Walker" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, July 04, 2002 8:43 AM
> Subject: RE: CFMX bug ??
>
>
> > CFMX automatically converts variables with dots into structures. I
> > wonder if cfdumping request.rootpath or request.Mirrordir might be
> > interesting.
> >
> > > -----Original Message-----
> > > From: James Sleeman [mailto:[EMAIL PROTECTED]]
> > > Sent: jeudi 4 juillet 2002 18:35
> > > To: CF-Talk
> > > Subject: CFMX bug ??
> > >
> > >
> > > Hi all,
> > >     I'm just working on porting our intranet (which is
> > > currently running
> > > under CF5) to CFMX, and right off the bat I have a little
> > > strangeness....
> > >
> > > I have a query, Q_Changers which contains the names of files
> > > that need to be
> > > copied, generating the query works fine, but the copy code...
> > >
> > > <CFLOOP LIST="#ValueList(Q_Changers.Name)#" INDEX="file">
> > >    <CFFILE ACTION="COPY" SOURCE="#REQUEST.RootPath##file#"
> > > DESTINATION="#REQUEST.MirrorDir#\#file#" >
> > > </CFLOOP>
> > >
> > > fails with...
> > >
> > > Complex object types cannot be converted to simple values.
> > >
> > > The Error Occurred in J:\InnovativeMedia\app_globals.cfm: line 122
> > > Called from J:\InnovativeMedia\StaffAdmin\app_locals.cfm: line 12
> > > Called from J:\InnovativeMedia\StaffAdmin\index.cfm: line 9
> > >
> > > 120 :
> > > 121 :   <CFLOOP LIST="#ValueList(Q_Changers.Name)#" INDEX="file">
> > > 122 :    <CFFILE ACTION="COPY" SOURCE="#REQUEST.RootPath##file#"
> > > DESTINATION="#REQUEST.MirrorDir#\#file#" >
> > > 123 :   </CFLOOP>
> > > 124 :
> > >
> > > but I'm not using any complex objects there, all variables on
> > > line 122 are
> > > simple strings, (REQUEST.RootPath & REQUEST.MirrorDir are
> > > directory paths,
> > > and file is of course just a filename).  Not to mentiong the
> > > intranet is
> > > functioning correctly under CF5 as I type.
> > >
> > > Ideas anybody ?
> > >
> > > ---
> > > James Sleeman
> > >
> > >
> > >
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.373 / Virus Database: 208 - Release Date: 7/2/2002
> > >
> > >
> >
>
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to