Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Shigeo Kubota / Shigeo Kubota (CF-AXL)
Created: 10/31/2014
Components: Language
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final / CF11 Update5
Priority/Frequency: Minor / Unknown
Locale/System: English / Win 2012 Server x64
Vote Count: 3
Related Bugs:
CF-3924797 - Similar to
CF-3924797 - Similar to
Problem Description:
form scope can't be emptied by calling structClear.
Steps to Reproduce:
1) Run the code below and make sure the form scope is empty initially.
2) Click the "Test" button.
3) See the result.
<cfif structKeyExists(form, "submit")>
<cfdump var="#form#" label="form scope">
structClear called and it returned: <cfoutput>#structClear(form)#</cfoutput>
</cfif>
<cfdump var="#form#" label="form scope">
structIsEmpty called. Is the form scope empty? <cfoutput>#structIsEmpty(form)#</cfoutput>
<form action="" method="post">
<input type="text" name="product" value="ColdFusion 11">
<input type="submit" name="submit" value="Test">
</form>
Actual Result:
After calling "structClear" and the function returned "YES," the heading of cfdump didn't display "empty," and when calling "structIsEmpty," it returned "NO."
Expected Result:
The heading of cfdump should display "empty," and "structIsEmpty" should return "YES."
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3845979
External Customer Info:
External Company:
External Customer Name: CF-AXL
External Customer Email:
External Test Config: My Hardware and Environment details:
ColdFusion 11 with Update 2 (11,0,02,291725) on IIS 8.5
Windows Server 2012 R2
Attachments:
- October 31, 2014 00:00:00: 1_screenshot.png
Comments: