Bug 68112 - Set META Information on OpenOffice Writer File ends in corrupt File
Summary: Set META Information on OpenOffice Writer File ends in corrupt File
Status: CLOSED FIXED
Alias: None
Product: kfile-plugins
Classification: Unmaintained
Component: OOo (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR grave
Target Milestone: ---
Assignee: Pierre Souchay
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-13 12:25 UTC by Nicolas Christener
Modified: 2003-12-09 16:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Christener 2003-11-13 12:25:51 UTC
Version:           3.1.93 (using KDE KDE 3.1.93)
Installed from:    Unlisted Binary Package
OS:          Linux

I used Openoffice 1.1 (Debian testing) to write a Math-Documentation.
If i try to set Meta Informations for this File using Konqueror, i can't opne the Document any more.
OpenOffice tells me, that it can't read the file.

If i unzip the sxw file BEFORE editing the META Informations, there is only ONE "meta.xml" file in the archiv.
AFTER editing the META Informations, there are TWO "meta.xml" files in the archiv.
Comment 1 Maksim Orlovich 2003-11-13 15:34:08 UTC
Loss of data -> grave; but can't confirm myself. 
Comment 2 Pierre Souchay 2003-12-06 00:23:50 UTC
Ok, it is normal to have several meta.xml files in the archive:
See: http://souchay.net1.nerim.net/news,20030504.html

One of these two files is the previous one (I mean, as created by OOo). I let it to allow recovering data in the case of an error and should not be a problem.

You are the first report of such error. Can you send me the file corrupted and try to repeat the problem (please send me the file before and after corruption if possible)
Comment 3 Pierre Souchay 2003-12-08 16:52:40 UTC
Ok, the bug occurs with OOo 1.1.0.
That is because I kept two versions or more of meta.xml in the zip archive (this should not be a problem since it is a «feature» of ZIP files).

OOo 1.0 has not such problem, but since OOo is the future, I will correct it asap.
Comment 4 Pierre Souchay 2003-12-09 04:41:58 UTC
Ok, the bug is fixed, now, the plugin recreates the whole file each time the properties are edited.
It is a bit silly since it's slower.
The correction has been commited in the CVS (v1.6).
Comment 5 Pierre Souchay 2003-12-09 16:31:25 UTC
Ok, after the fix, the reporter was able to read files with his version of OOo.
We can no close the bug.