Apache OpenOffice (AOO) Bugzilla – Issue 86131
WW8: document properties imported as empty fields
Last modified: 2013-08-07 14:43:03 UTC
Open attached document, the document properties (like title, comments and all the statistic fields) are now imported as fields (mainly empty). "Edit.Fields" command on these fields result in a crash. In previous versions (like in 2.3.1) these fields. MRU->MBA: maybe this was introduced by the "customproperties" CWS - if not could you please reassign this issue to a responsible engineer? Thanks!
Created attachment 51530 [details] Sample document
Description should be: [...] In previous versions (like in 2.3.1) these fields were imported as plain text. [...]
added md to cc added keyword regression
This is an unfortunate result of a missmatch between three different steps: (1) some time ago "custom properties" have been imported (import of all property streams from Word, Excel and Powerpoint documents) (2) Caolan's great patch identified fields referencing the "built-in" properties (from "summary information" stream), leaving all others as "unknown". (3) I added code that imports the "unknown" fields into custom fields - but there is a third kind of properties: "built-in" props from Word in the "document summary information" stream that I wasn't aware of and we will need a matching table to import them properly (they are only identifiable by their Id in the stream like the other "built-in" properties). The problem is that these properties are not recognized as custom properties or built-in properties and so the fields don't find any reference. This leads to the empty text. The crash happens because the dialog (IMHO) is buggy - it can't cope with an empty listbox. Usually that doesn't happen but it's always better to be prepared for this. Easy to fix that part. The more tricky stuff is how to make the fields work for these properties. That's the root cause, now I'm thinking about the solution. I have three different ideas and currently I'm wandering which one is the best.
fixed in CWS builtinpropsfix
Fix verified in CWS builtinpropsfix.
Reassigning back to myself.
Checked in OOH680m8.
Michael, please verify in 3.0 version also.
Fixed.
Verified now also in OO3 CWS sw30bf02.
Checked in 300m23.