This is a bug with reactor on MX 6.1.  It’s a known issue.  It should be fixed within a week or so. Sorry!

 

Doug

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of M@ Bourke
Sent: Tuesday, June 13, 2006 9:44 AM
To: [email protected]
Subject: [Reactor for CF] iterator issue

 

Hi all,

I'm relatively new to reactor and have a basic "hasMany" setup and get

        <object name="tblproduct">
            <hasMany name="tblProductPropertyItem">
                <relate from="productId" to="productId" />
            </hasMany>
        </object>


<cfset productRecord = Application.ReactorProducts.createRecord ("tblproduct") />
<cfset productRecord.setProductId(url.prodid) />
<cfset productRecord = productRecord.load() />
<cfset productdetails = productRecord.gettblProductPropertyItemIterator ()>

When I dump "productdetails" the iterator method is there, I've also tried "gettblProductPropertyItemIterator().getquery()" but still errors same.

I can do a "hasOne" fine, but when I do a "hasMany" and use the Iterator it chucks a wobbly

Parameter validation error for function QUERYADDCOLUMN.
The function takes 3 parameters.
The error occurred in C:\CFusionMX\wwwroot\reactorCore\iterator\iterator.cfc: line 435

Sorry for the vagueness,

Thanks
Matt

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to