Title:
sameformfieldsasarray appears to be on by default when using Application.cfm on Linux / x64
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Joe Zack / Joe Zack (Joe Zack)
Created: 06/14/2012
Components: Application Deployment
Versions: 10.0
Failure Type: Incorrect w/Workaround
Found In Build/Fixed In Build: Final /
Priority/Frequency: Normal / Some users will encounter
Locale/System: English / Linux All
Vote Count: 2
Problem Description:
Form fields with the same name are combined into an array when using an Application.cfm file on Ubuntu 12.04 x64 install of ColdFusion 10.
The setting should be off by default, and when using an Application.cfm file there is no way to turn the setting off.
Steps to Reproduce:
Create a folder with the following two files, submit the form.
(Code can be found here: http://gist.github.com/2931343)
<!--- Application.cfm file: --->
<cfapplication name="test-application" />
<!--- index.cfm file --->
<cfdump var="#form#" />
<cfoutput>
<form method="post">
<input name="formField" />
<input name="formField" />
<input type="submit" />
</form>
</cfoutput>
Actual Result:
The form struct contains an array called formField
Expected Result:
The form struct should contain a list called formField
Any Workarounds:
Can loop through the form scope on every request and convert arrays to lists
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3214734
External Customer Info:
External Company:
External Customer Name: Joe Zack
External Customer Email:
External Test Config: My Hardware and Environment details:
Ubuntu 12.04 amd64 (3.2.0-24-generic)
ColdFusion Server Developer 10.0.0.282462
Attachments:
- June 15, 2012 00:00:00: 1_Selection_065.png
Comments: