Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Tom Chiverton / Tom Chiverton (Tom Chiverton)
Created: 02/28/2013
Components: Core Runtime
Versions: 9.0.1
Failure Type: Non Functioning
Found In Build/Fixed In Build: 9.0.1 /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win XP All
Vote Count: 1
Problem Description: Valid CFCs throw undefined variable run time errors, fine without CHF3 applied.
Steps to Reproduce:
Put both files in test configuration on a CF 9.0.1 server with CHF3. 1.6 or 1.7 JVM doesn't make much difference, and visit the .cfml page
Actual Result:
 Element NEWCAMPAIGNID is undefined in ARGUMENTS. 
Expected Result:
 No output
Any Workarounds:
 Remove the CHF .jar file or rewrite to user intermediate variables
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID:	3508592
External Customer Info:
External Company:  
External Customer Name: ChivertonT
External Customer Email:  
External Test Config: chf3.cfc:
component{
/* this functionally identical code works
public function moveToNewCampaign (string userId,numeric incomingId, numeric newCampaignId) boolean{
	var old=variables.incomingGateway.where({'id'=arguments.incomingId})[1];
	var a={'campaignId'=arguments.newCampaignId};
	var b={'id'=arguments.incomingId};
	variables.incomingGateway.updateWhere(fields=a,where=b);
	variables.logFileGateway.logForCurrentUser(
						userId=arguments.userId,
						eventType="Moved reply",
						eventDetail="id #arguments.incomingId# from campaign #old.getCampaignId()# to #arguments.newCampaignId#"
						);
}*/
public function moveToNewCampaign (string userId,numeric incomingId, numeric newCampaignId) boolean{
	var old=variables.incomingGateway.where({'id'=arguments.incomingId})[1];
	variables.incomingGateway.updateWhere(fields={'campaignId'=arguments.newCampaignId},where={'id'=arguments.incomingId});
	variables.logFileGateway.logForCurrentUser(
						userId=arguments.userId,
						eventType="Moved reply",
						eventDetail="id #arguments.incomingId# from campaign #old.getCampaignId()# to #arguments.newCampaignId#"
						);
}
}
chf3.cfml:
<cfscript>
	obj=createObject('chf3');
</cfscript>Attachments:
Comments: