Bug 36515

Summary: POI corrupts .xls after modification of a macro file
Product: POI Reporter: pete jackson <pete.jackson>
Component: POIFSAssignee: POI Developers List <dev>
Severity: major    
Priority: P2    
Version: 3.0-dev   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: base files and output files

Description pete jackson 2005-09-06 12:36:19 UTC
A base .xls containing macros and class files is opened by a java app which adds
2 empty sheets and then create a new output file. The output file can be 
successfully opened in excel and all code modules are present.

If the base .xls is modified ( 1 line added to second class file) and the above 
procedure is repeated on opening the output file in Excel the 2 added sheets 
are seen but a "File Not Found" message occurs. Looking in the VBE the names of 
all the macro and class files are present but clicking on the second class file 
generates the "File Not Found" message again and no code is visible for the 
class file
Comment 1 pete jackson 2005-09-06 12:39:07 UTC
Created attachment 16314 [details]
base files and output files
Comment 2 Josh Micich 2008-08-28 14:22:33 UTC
Re-tested ok in svn trunk (post 3.1)

Problem existed in v 2.5.1, but seems to have been fixed by 3.0.