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:297465
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to