Apache OpenOffice (AOO) Bugzilla – Issue 54558
Impossible to save writer or calc document after pasting special chart object from draw
Last modified: 2005-09-19 16:09:45 UTC
IN OO1.9.122 created 6 charts in calc, pasted them in a draw file and grouped them togheter. Then I copied the grouped object and pasted it in a writer document. From then on the writer document cannot be saved anymore, any attempt to do so will result in an "i/o error" message. Even if you delete the pasted object, the writer doc remains impossible to save. A workaround is to choose paste special and select "metafile GDI" as format; however you will not be able to edit the object in the orginal format after that. The pasted object is in included in an attached file "object to copy and paste.sxd". Just open it select and copy the only (grouped) object present, and then try to paste it in any writer doc. This happens saving both in OO1 and OO2 file formats.
Created attachment 29533 [details] File containing the object that blocks saving ability of writer docs when pasted in them
I checked with 2.0 (1.9.m122) German version WIN 98: [680m122(Build8941)], 2.0 (1.9.m118) English version WIN XP: [680m118(Build8936)], 2.0 (1.9.m113) German version WIN XP: [680m113(Build8930)] All same result: I can reproduce the problem, when I try to save the document with the pasted object I get: "Error Saving the document Untitled2: Write error! Error writing file" It's not a special writer problem, the same happens when I paste the grouped object to a CALC file. Paste works into Impress and Draw documents. So I believe, framework might be a better component. Something I did not understand: After I ungrouped the document an copied / pasted it as reported, I was able to ungroup it in the writer document ?! @ scagni: pls specify your OS!
It's nothing special with reporter's charts. I tried with 'ooo.stock.scaling.bug2.sxc' from issue 15298: 0. Opened 'ooo.stock.scaling.bug2.sxc' with 2.0 (1.9.m122) German version WIN XP: [680m122(Build8941)] 1. saved as .ods 2. opened new draw document 3. copied / pasted charts of 'ooo.stock.scaling.bug2.sxc' one by one to new draw document 5. arranged charts and groped them 7. saved draw document 8. <cntrl>+<a> to mark grouped document 9. Context-Menu "Copy" 10. Open new writer document 11. paste 12. Try to save document expected: can "save as" actual: error message as reported.
To reproduce the problem, it is not necessary to have the charts grouped in DRAW. The problem will also appear if you copy paste only 2 of the ungrouped charts from 'ooo.stock.scaling.bug2.sxc'. After they are pasted to the writer (or calc) document, they will be grouped there - whatever that might mean :-/
My suspect sees a relation to issue 52830 (may even be it's a DUP) correct?
more meaningful subject
My OS is win XP FP1. Also I don't want to complicate things, but while juggling with the problem, another one arised on the same object: In all I had 11 calc graphs pasted into a Draw doc and grouped in 2 clusters. Here there were no problems in saving, but some of the graphs (seemingly at random) turned up not to be the correct ones after closing the saved doc and reopening it: 4 of them had disappeared and were replaced by duplicates of others present in the doc. I had to repaste the missing ones again from calc, for one of them I even had to do this twice to set things straight (at the first try in one case the newly pasted graph was again replaced by the copy of another). Until you save close and reopen the doc the thing can't be seen directly, but if you copy and paste the graphs in other docs (in any format like metafile GDI which overcomes the saving problem) the pasted copy is already wrong! This is a very dangerous bug, with no alert visible you risk to overlook the problem until somebody else makes you notice it when it's too late (in my case, during a presentation at a scientific meeting). I was lucky enough to spot it early... it's something probably having to do with internal identifiers of objects in the file....
Hi scagni, this issue is tricky enoug, please open a new issue for your observations as per "comments from scagni Wed Sep 14 02:24:38 -0700 2005"
I'll have a look.
Duplicate. This is fixed in impress58 with i52830. *** This issue has been marked as a duplicate of 52830 ***
Closed.