Summary: | Reading and writing file with Dropdown doesn't work in 3.0.2 anymore | ||
---|---|---|---|
Product: | POI | Reporter: | Michael <michael.hunziker> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mbp |
Priority: | P2 | ||
Version: | 3.0-FINAL | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: |
Cell G6 contains a simple dropdown. Reading and writing back to a new xls doesn't work in 3.0.2
svn diff of changes to DVALRecord tar bz2 of one added test class |
Description
Michael
2008-02-29 05:46:59 UTC
Created attachment 21606 [details]
svn diff of changes to DVALRecord
Created attachment 21607 [details]
tar bz2 of one added test class
The problem was due to a combination of in-line field declaration/initialisations, and using the template pattern during instance initialization. It's very easy to miss the fact that the field initialisations run _after_ the super constructor, which called fillFields() on the current class first. Thanks for the patch Josh, applied to svn *** Bug 45004 has been marked as a duplicate of this bug. *** |