DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33375>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33375
Summary: [PATCH] Fix for HSSF Bug #33160
Product: POI
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P2
Component: HSSF
AssignedTo: poi-dev@jakarta.apache.org
ReportedBy: amolweb@yahoo.com
Setting value of cell to formulas containing numbers greater than
Short.MAX_VALUE (Java) caused an exception.
This was due to a bug in the FormulaParser class. The code had a TODO comment
saying something to the effect that numbers greater than Short.MAX_VALUE would
cause a problem. The patch modifies the code so that a check is made to see if
the number is larger than Short.MAX_VALUE and accordingly either IntPtg or
NumberPtg is used in FormulaParser.
The patch also includes an additional test case (method added to class
TestFormulaParser that checks the behaviour of HSSF for large values in cell
formulas).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
|