To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=112360 Issue #|112360 Summary|Paths to OLE links are broken after restoring document | from crash Component|Word processor Version|OOO320m1 Platform|PC URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P4 Subcomponent|save-export Assigned to|writerneedsconfirm Reported by|nalimilan
------- Additional comments from nalimi...@openoffice.org Mon Jun 14 08:41:19 +0000 2010 ------- I'm using embedded OLE objects (ODG schemas) in a text file, with the option "Link to file" activated when inserting the object. When OpenOffice crashes, and suggests to restore the file from the temporary backup, it seems to mess with the path to the OLE object. This is not visible first when editing the document, but if I happen to save the restored version, next time I open it it, linked OLE objects can't be loaded (getting an error dialog for each object). This is because paths to the files are broken: instead of "/home/user/Documents/Graphics/draw1.odg", it has become "/home/user/Documents/home/user/Documents/Graphics/draw1.odg" (with /home/user/Documents the place where both text document and OLE object are stored). Editing the content.xml compressed file in the saved ODT text, I could check that paths were transformed to "../../../home/user/Documents/Graphics/draw1.odg". So it looks like restoration is not done from the same folder as the one the document is, and creates strange paths to access it. I'm not sure why three ".." are used; if it helps, the real path I'm using is not the example above, it's "/home/user/Documents/Work1/text1.odt" and "/home/user/Documents/Work1/Graphics/Draw1/draw.odg". This can be very cumbersome, if you have 10 embedded OLE and you overwrite the original document with the restored version, you have to reinsert all of them at the right place and do the resizing... Anyway, please ask you you need more information or debugging (even with strace or gdb). I'm using OO.o 3.2 on Ubuntu 10.04 (version 3.2.0-7ubuntu4.1). --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org