Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 08/18/2015
Components: Language
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 2
Problem Description:
?: is pants
Steps to Reproduce:
<cfscript>
result = ( true == true ) ?: 'SHOULD NOT BE THIS VALUE';
writeOutput(result); // but it is
</cfscript>
Actual Result:
SHOULD NOT BE THIS VALUE
Expected Result:
true
Any Workarounds:
Don't use ?: operator
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4038422
External Customer Info:
External Company:
External Customer Name: Adam
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: