Status/Resolution/Reason: Closed/Withdrawn/AsDesigned
Reporter/Name(from Bugbase): James Mohler / James Mohler ()
Created: 01/11/2017
Components: Language, Member Functions
Versions: 2016
Failure Type: Others
Found In Build/Fixed In Build: 2016,0,03,300466 /
Priority/Frequency: Normal / Few users will encounter
Locale/System: English / Mac 10.11
Vote Count: 0
Problem Description:
ParagraphFormat() does not work on all numbers
Steps to Reproduce:
<cfset NumberString = 1>
<!--- This works --->
<cfoutput>#NumberString.paragraphFormat()#</cfoutput>
<cfset mystring = "Hello World "><!--- Yes there is a space there --->
<cfset NumberString = mystring.len()>
<!--- This crashes --->
<cftry>
<cfoutput>#NumberString.paragraphFormat()#</cfoutput>
<cfcatch><cfdump var="#cfcatch#"></cfcatch>
</cftry>
Actual Result:
Crash when using variable that was set by len()
Expected Result:
Nice paragraphformat of a number
Any Workarounds:
Not use member functions
Attachments:
Comments: