Copy link to clipboard
Copied
I found an odd issue with structkeyexists.
<cfset ticket = structnew()>
<cfset thiskey = "u|406468633|txslfault06">
<cfset structinsert(ticket, thiskey, "VOC000003770699|1349211974|tiegsda")>
<cfdump var="#ticket#">
<cfif structkeyexists(ticket, "u|398230449|njbdfault05")>
<cfset raw = structfind(ticket, "u|398230449|njbdfault05")>
<cfdump var="#raw#">
</cfif>
somehow it thinks that u|398230449|njbdfault05 is the same as: u|406468633|txslfault06
any Ideas?
Copy link to clipboard
Copied
Not for me it doesn't. I just get the outout of the first dump, which is what I expected.
Is that code in a stand-alone file with nothing else interfering?
Can you post a screencap of the output?
Can you provide your OS / bitness / type of CF install / anything else that might contribute to this?
--
Adam
Copy link to clipboard
Copied
I put this small code toguether to trouble shoot the issue... had a user complain that a ticket was assign to them that was not supposed to. and I narrow it down to this.
it works fine on my new CF10 server, it is only happening on CF9
Copy link to clipboard
Copied
I don't get it on CF9.0.2 either. Nor CF8.0.1, nor CFMX7.0.2...
--
Adam
Copy link to clipboard
Copied
going to try to update my cf 9,0,0,251028 to 9.0.2
Copy link to clipboard
Copied
The update fixed the problem... this was an odd one.