Title:
CFSpreadsheet action=read headerrow=1 fails if a column name contains a comma. [ this fails when dumping the spreadsheet object created with the cfspreadsheetread ]
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Tuttle / Adam Tuttle (Adam Tuttle)
Created: 09/15/2014
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Normal / Some users will encounter
Locale/System: English / Platforms All
Vote Count: 4
Problem Description:
Spreadsheets from non-technical users often have things like commas in the column headings. CFSpreadsheet throws an exception trying to read these sheets because it is using a comma-delimited list internally and a single distinct column then appears as two in the list (column "a, b" appears to be separate columns "a", "b")
Steps to Reproduce:
<cfspreadsheet action="read" src="somefile.xlsx" headerrow="1" />
Where somefile.xlsx contains a value with a comma in it on row 1.
Actual Result:
Exception thrown
Expected Result:
Full column name, with commas, appears in the result query
Any Workarounds:
Rename the column before importing the spreadsheet, which can not be done easily using cfspreadsheet since it can't read the file.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3825042
External Customer Info:
External Company:
External Customer Name: Adam Tuttle
External Customer Email:
External Test Config: My Hardware and Environment details:
OSX 10.9.4
Java 1.7.0_60
Attachments:
Comments: