Status/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)
Created: 04/08/2016
Components: Language
Versions: 11.0
Failure Type: Incorrect w/Workaround
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Win All
Vote Count: 4
Problem Description:
member function like .len() not available for numeric value from query
Steps to Reproduce:
<cfquery name="test" datasource="ws_engine">
select 1 as number;
</cfquery>
<cfset x = test.number>
<cfdump var="#len(x)#">
<cfdump var="#x.len()#">
Actual Result:
1 1
exception: The len method was not found.
Expected Result:
1 1 1
Any Workarounds:
use len() instead of member function
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4137857
External Customer Info:
External Company:
External Customer Name: Henry Ho
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: