poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59638] New: org.apache.poi.ss.usermodel.DataFormatter forces a comma as a grouping separator
Date Fri, 27 May 2016 07:13:13 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59638

            Bug ID: 59638
           Summary: org.apache.poi.ss.usermodel.DataFormatter forces a
                    comma as a grouping separator
           Product: POI
           Version: 3.14-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SS Common
          Assignee: dev@poi.apache.org
          Reporter: toni.helenius@syncrontech.com

org.apache.poi.ss.usermodel.DataFormatter forces a comma as a grouping
separator. This used to work with POI 3.13-final. I'm using Finnish locale. And
we have a space (" ") character as a grouping separator. I debugged this and it
indeed goes to POI correctly, the grouping separator.

The code:
DataFormatter formatter = new DataFormatter();
formatter.formatCellValue(cell);

I'm not sure but is it this commit that caused it:
https://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/usermodel/DataFormatter.java?r1=1712605&r2=1712604&pathrev=1712605

I can see a comma added there. I didn't really debug that far. Just a stab in
the dark.

-- 
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


Mime
View raw message