Summary: | Size of FuncPtg | ||
---|---|---|---|
Product: | POI | Reporter: | Paul Krause <pkrause> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dmui |
Priority: | P3 | ||
Version: | 2.0-dev | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Paul Krause
2002-10-04 14:10:20 UTC
I am surprised any serialisation works in the presence of such a serious bug. Will check. I must have been particularly stupid when i wrote this :( Ok, this is a REAL bug, but the reason why we havent seen this corrupt files is that POI never writes FuncPtg, it instead writes FuncVarPtg. This error is manifested in reading Excel files, where one gets WARNING:unknow Ptg 0 Which should have told us a size was wrong, since there cant be a Ptg SID of 0!! I have fixed it locally, waiting for some feedback from Danny, since he had written a workaround on this, which i think i need to remove. Yes, this sounds better than my conservative approach. I'll be testing template read/serialization more extensively in the coming days. Fixed. Shout if i have broken anything.. This should remove any WARNING: Unknown Ptg 0 (0) Of course, other ptgs could still be unknown :) |