You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2018/01/09 20:18:11 UTC

[Bug 61981] New: DataFormatter.formatCellValue(cell) throws IllegalArgumentException when the format is ""ddd,mmm dd OR ""dddd, mmmm dd, yyyy

https://bz.apache.org/bugzilla/show_bug.cgi?id=61981

            Bug ID: 61981
           Summary: DataFormatter.formatCellValue(cell) throws
                    IllegalArgumentException when the format is ""ddd,mmm
                    dd OR ""dddd, mmmm dd, yyyy
           Product: POI
           Version: 3.17-FINAL
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
          Assignee: dev@poi.apache.org
          Reporter: vinaysubscribe@gmail.com
  Target Milestone: ---

Created attachment 35663
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35663&action=edit
Sample test file with one sheet, and two cells.

https://issues.apache.org/jira/browse/TIKA-2196

This seems to be happening when a cell is set to custom format with double
quotes, for example:

""ddd,mmm dd
or
""dddd, mmmm dd, yyyy

As per,
https://bz.apache.org/bugzilla/show_bug.cgi?id=54786

the double double quotes are replaced by a single single quote.

However in this case, there is no closing single quote.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org