Title:
Leading and trailing commas in form field value if first or last field of several with the same name is empty
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Dave Merrill / Dave Merrill (Dave Merrill)
Created: 02/13/2015
Versions: 11.0
Failure Type: Data Corruption
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 0
Problem Description:
See title, attached test case, and Actual Result below.
Steps to Reproduce:
Create two fields with the same name in a form, leave one or both fields empty, submit, and examine the form scope.
See attached test case.
Actual Result:
1. If the first field is empty, there's a trailing comma in the value, new behavior.
2. If the second field is empty, there's a leading comma (not new)
3. If both are empty, value is a single comma, new behavior.
These behaviors are all present in ColdFusion 11,0,03,292480 (latest update), 10,0,15,292620 (latest update) and in 11,0,0,289822.
#2 ONLY is present in ColdFusion 9,0,2,282541 and ColdFusion 8,0,1,195765.
Expected Result:
Whatever the behavior should be ideally, the behavior of cases 1 and 3 has changed, and breaks applications.
Ideally leading and trailing commas would be trimmed in all cases where they're the result of multiple fields with the same name.
Any Workarounds:
None, without modifying existing applications, not good.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3939978
External Customer Info:
External Company:
External Customer Name: Dave
External Customer Email:
External Test Config: My Hardware and Environment details:
Tested on a variety of Windows servers, with multiple browsers, identical results except for the CF version differences.
Attachments:
- February 13, 2015 00:00:00: 1_duplicate-fieldnames-bug.cfm
Comments: