Tracy,

It should be fixed in changeset 283 ( 
http://trac.reactorframework.com/reactor/trac.cgi/changeset/283 )

João Fernandes

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Tracy Logan
Sent: Tue 20-Jun-06 9:42 PM
To: Reactor Mailing List
Subject: [Reactor for CF] MX6.1 compatibility problem
 
It looks like the Iterator has a wee problem with compatibility: at
line 436, there's a check for CF version that then calls
QueryAddColumn() -- with four parameters if the CF version is 7 or
above, leaving out the Type parameter if not.

However, since the four-parameter version is illegal in CF6, a syntax
error ("QUERYADDCOLUMN takes three parameters") is thrown when the
CFML is compiled.

Is there anything I can do to tell CF to allow forward compatibility?  :*)

Here's the code in question:

=====================/reactor/iterator/Iterator.cfc==========================
436 <cfif ListFirst(Server.ColdFusion.ProductVersion) GTE 7>
437     <cfset QueryAddColumn(variables.query, "reactorRowDeleted", "Bit",
deletedArray) />
438 <cfelse>
439     <!--- hopefully this works in MX 6.1 --->
440     <cfset QueryAddColumn(variables.query, "reactorRowDeleted", 
deletedArray) />
441 </cfif>
==================================================================

I'm guessing from the "hopefully" that this hasn't been tested overly
much; we stil have servers using 6.1, so I can help do some testing if
anyone has any suggestions.

=tracy


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --




-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

<<winmail.dat>>

Reply via email to