StructDelete or StructIsEmpty broken in CF8?
I have found what appears to be a CF8 bug?
My code:
<cfdump var="#URL#">
<cfset rc = StructDelete(URL, "SN", "true")>
<cfdump var="RC: #rc#"><br />
<cfdump var="StructIsEmpty: #StructIsEmpty(URL)#">
<cfdump var="#URL#">
<cfabort>
In my case the URL has one key called "SN". I delete it using StructDelete function.
I then immediately test it for emptiness...using StructIsEmpty, but it displays No. Yet, a dump of the URL struct shows it is.
What gives?????
Here's the output I get:
| struct | |
|---|---|
| SN | /products/fpga/ecp/index.cfm |
RC: YES
StructIsEmpty: NO
| struct |
|---|
