Title:
Invoke in CFC to call a function expression does not bind the this variable
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): Tyler Clendenin / Tyler Clendenin (tylerc)
Created: 02/22/2012
Components: Language, Closures
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Public Beta /
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Mac 10.7 64-bit
Vote Count: 0
Problem Description: If a CFC uses the invoke command to call a function expression, the this variable is not bound.
Steps to Reproduce: See http://tylerclendenin.com/2012/02/coldfusion-zeus-10-beta-function-expressions-and-closures-not-quite-there/ second part
Actual Result: Variable THIS is undefined
Expected Result: Returns the object
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3120773
External Customer Info:
External Company:
External Customer Name: tylerc
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: