Search code examples
coldfusioncoldfusion-9

Wrong number of elements in structure


Given the following code

<cfset test = structNew()>
<cfset test[73] = "">
<cfset test["6r"] = "">
<cfdump var=#test#>

Can anyone explain why the structure only contains the the element 73 and not 6r. Also a way to workaround this issue would be must appreciated? I am using coldfusion 9 on a windows 2008 SBS server.


Version 9.0.0.251028 Edition Enterprise

I also tested the code on version 9,0,1,274733 on a windows 7 machine, here the code runs fine.


Screendump


Solution

  • Hotfix cpsid_82547e solves this issue.