Bug 23868

Summary: DocumentSummaryInformation getters fail when 2nd section exists
Product: POI Reporter: Robert Flaherty <Robert_Flaherty>
Component: HPSFAssignee: POI Developers List <dev>
Status: CLOSED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 2.0-pre3   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Exhibits user-defined properties which cause a 2nd section in DocumentSummaryInformation

Description Robert Flaherty 2003-10-16 17:33:21 UTC
When user-defined properties are added to a document, a second section exists 
for DocumentSummaryInformation.  This causes the specialized getXxx() calls 
which inturn call getProperty() to fail b/c it is wired to only work when one 
section exists.  Because they are known to be in the first section, 
DocumentSummaryInformation should override getProperty() or create a 
getFirstSectionProperty() to get them.  It may be worthwhile to put the same 
code in SummaryInformation in case a second section could ever be created (not 
sure?).
Comment 1 Rainer Klute 2003-10-16 21:06:05 UTC
Please attach a document to this bug report which exhibits the problem! Thanks!
Comment 2 Robert Flaherty 2003-10-17 13:56:57 UTC
Created attachment 8607 [details]
Exhibits user-defined properties which cause a 2nd section in DocumentSummaryInformation
Comment 3 Rainer Klute 2004-08-15 06:51:38 UTC
Test cases run and files opens fine in the poibrowser.