Apache OpenOffice (AOO) Bugzilla – Issue 36459
Doc loses graphics after saving
Last modified: 2013-08-07 14:41:36 UTC
1. create new writer doc 2. insert a wmf graphic 3. save document 4. close document 5. open the document 6. do a dummy modification 7. press the save button 8. close the document 9. open the document --> the graphic is gone.
This bug is reproducable only in Writer, so it's definitely something that should be investigated in Writer first
changing component to wordprocessor. This is not limited to WMF-graphics. Can be reproduced with a background from the gallery as well.
*** Issue 36400 has been marked as a duplicate of this issue. ***
reassigned as discussed
This problem occurs during step 7. of the description, since the writer is not able to load the swapped graphic from its storage stream. Location where this happens is /sw/source/core/graphic/ndgrf.cxx:1156 (SwapGraphic Hdl). When trying to open the stream (stream/storage name seems to be correct) via refRoot->openStorageElement, an exception is thrown so that the graphic is not loaded by the writer and so cannot be saved afterwards.
Obviously the temporary storage we use while saving was incomplete
Reopened for assigning to QA
.
Verified fix in CWS fwkp2fix02
*** Issue 37046 has been marked as a duplicate of this issue. ***
*** Issue 37212 has been marked as a duplicate of this issue. ***
*** Issue 36710 has been marked as a duplicate of this issue. ***
*** Issue 37921 has been marked as a duplicate of this issue. ***
*** Issue 38268 has been marked as a duplicate of this issue. ***
Checked integration in 680m64.
*** Issue 38732 has been marked as a duplicate of this issue. ***
With Oo 1.9.65 images/graphics still disappear from the file, after saving. So, reopen this issue please!
Following the steps in Issue 38268 which is a dup of this bug are not reproducable with 1.9.m65 on my system. Has the list of steps changed to reproduce this with newer versions?
MRU->milaa: the problem here is fixed, so yours is a slightly different. Please file a new issue for that and attach needed files to it! Thanks a lot!