I confirmed the same error: <cfhttp url="http://www.web-rat.com/" result="test"> <cfset test.filecontent = replace(test.filecontent,'Todd Rafferty','Goober','ALL')> <cfdump var="#test#">
Easy work around, but it appears to be a bug. Unless test is no longer a true structure anymore. On Jan 25, 2008 2:51 PM, Jim McAtee <[EMAIL PROTECTED]> wrote: > > > I'm getting an error in CF8 when I attempt to alter the contents of the > > filecontent key of a struct returned by CFHTTP. This worked fine in > > CF5. > > I can easily fix it, but what's the reason for the error? There's not > > much to go on in the debugging output. > > > > The code: > > > > <cfhttp url="xxxxxxxxxxxx.com/test2.cfm" result="test"> > > <cfset test.filecontent = Replace(test.filecontent, "a", "b", "all")> > > > > The error: > > > > 12:41:30.030 - java.lang.NoSuchFieldException - in D:\web\dev5\test1.cfm > > : > > line 13 > > FILECONTENT > > While this statement is ok:<cfset s = Replace(test.filecontent, "a", > > "b", > > "all")> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297470 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

