Bug 23868 - DocumentSummaryInformation getters fail when 2nd section exists
Summary: DocumentSummaryInformation getters fail when 2nd section exists
Status: CLOSED WORKSFORME
Alias: None
Product: POI
Classification: Unclassified
Component: HPSF (show other bugs)
Version: 2.0-pre3
Hardware: All All
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-16 17:33 UTC by Robert Flaherty
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
Exhibits user-defined properties which cause a 2nd section in DocumentSummaryInformation (22.00 KB, application/vnd.ms-excel)
2003-10-17 13:56 UTC, Robert Flaherty
Details

Note You need to log in before you can comment on or make changes to this bug.
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.