tracker issue : CF-4200574

select a category, or use search below
(searches all categories and all time range)

SpreadsheetAddRow fails if string starts or ends with comma

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Jim Priest / Jim Priest ()

Created: 01/10/2018

Components: Language

Versions: 2016,11.0,2018

Failure Type: Crash

Found In Build/Fixed In Build: 11,0,13,303668 / 2018,0,0,311043

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Windows 8.1/64bit

Vote Count: 0

Problem Description:
When adding a row with SpreadsheetAddRow if the string starts or ends with a comma CF will throw String index out of range error

Steps to Reproduce:
See attached files for code to reproduce issue.

Actual Result:
Get an error:
(java.lang.StringIndexOutOfBoundsException: String index out of range: -1)

Expected Result:
Row would be added normally.

Any Workarounds:
Strip comma and replace with chr(8218)


  1. January 10, 2018 00:00:00: index.txt


May be related?? CF-3713386
Comment by Jim P.
132 | January 10, 2018 07:51:37 PM GMT