Bug 29849 - multiple setCellFormula to same cell do not write to file
Summary: multiple setCellFormula to same cell do not write to file
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-FINAL
Hardware: All other
: P3 major with 2 votes (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2004-06-28 16:51 UTC by Chris Cheshire
Modified: 2008-05-08 23:03 UTC (History)
0 users

Source file demonstrating bug. (1.14 KB, text/plain)
2004-06-28 16:52 UTC, Chris Cheshire

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cheshire 2004-06-28 16:51:54 UTC
If you update a cell formula multiple times, it does not get written to a file
when it is written with HSSFWorkbook.write(). Each call to
HSSFCell.getCellFormula() after the formula is set shows the correct formula,
but when the workbook is written to a file, it only writes the first formula
written to the cell.
Comment 1 Chris Cheshire 2004-06-28 16:52:51 UTC
Created attachment 11985 [details]
Source file demonstrating bug.
Comment 2 Josh Micich 2008-05-08 23:03:46 UTC
Retested OK in 3.1-beta1.

Probably fixed a long time ago.