https://bz.apache.org/bugzilla/show_bug.cgi?id=62216
--- Comment #2 from [email protected] <[email protected]> --- (In reply to PJ Fanning from comment #1) > I added the suggested change using > https://svn.apache.org/viewvc?view=revision&revision=1828144 > > Would it be possible to get a test case for regression purposes? import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.FormulaError; import org.apache.poi.xssf.streaming.SXSSFWorkbook; import org.junit.Test; import static org.junit.Assert.assertEquals; public class SXSSFCellTest { @Test public void test62216() { Cell instance = new SXSSFWorkbook().createSheet().createRow(0).createCell(0); String formula = "2"; instance.setCellFormula(formula); instance.setCellErrorValue(FormulaError.NAME.getCode()); String result = instance.getCellFormula(); assertEquals(formula, result); } } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
