Close a Workbook, what exactly is the meaning of this function?

2017-01-12 Thread Burkhard Losch
Dear All, we use XSSFWorkbook, create it with a file name (not with an InputStream), and make modifications on the workbook. If we close the workbook, sometimes the changes are written, sometimes not. It looks like, if we call the write function with any outputstream, the later call to close

Re: Close a Workbook, what exactly is the meaning of this function?

2017-01-12 Thread Dominik Stadler
Hi, that sound like a bug, there were some discussions before about save-behavior and ways to save changes back to the same file, however I think we should not write back to the original file in some obscure automated way like you describe, can you create a bug-report with the sample code so one o

Re: Close a Workbook, what exactly is the meaning of this function?

2017-01-12 Thread Javen O'Neal
Related: https://bz.apache.org/bugzilla/show_bug.cgi?id=57919 On Jan 12, 2017 02:23, "Dominik Stadler" wrote: > Hi, > > that sound like a bug, there were some discussions before about > save-behavior and ways to save changes back to the same file, however I > think we should not write back to th