Apache OpenOffice (AOO) Bugzilla – Issue 11624
Insert Image -> link with file - relative paths corrupted sometimes
Last modified: 2007-03-24 14:41:55 UTC
I have inserted a .bmp file, via Insert->Graphics->From File->Link to file. Then, from time to time (I'm not able to reproduce it on requested, but i happened about 5 times up to now) when I open an .sxw document and save it, paths to image files are not resolved properly. Once saved, wrong relative paths are stored. Ex: files: c:/../manual/pp/chapter1.sxw c:/../manual/main.sxg c:/../manual/pp/image.bmp proper path: ../image.bmp improper path, after bug happens : ../pp/image.bmp It happens only, if I use main document (.sxg) and double click in navigator to open end edit chapter file (propably because chapter document and main document are in different directories). Workaround: Thanks to hml format OpenOffice uses it is easy to unsip .sxw, open content.xml in text editor and automatically replace improper paths with proper one.
Thank you for using and supporting OOo. Can you reproduce this problem consistently in 1.0.3.1?
set to worksforme...
closing due to long inactivity...
Please reopen, this still occurs in OOo 2.2rc3. Last time I noticed it was after I had system crash in my computer and had to recover the Writer document. After recovery, all images had "/home/magi" replaced with "..". My default path is "/home/magi/texts/", so maybe the ".." is an attempt to change to a path relative to that. I get many paths such as "file:///../texts/image.png". For example, original path: file:///home/magi/data/oo-web/fi/www/kuvat/ooo2.0-half.png After crash and recovery: file:///../data/oo-web/fi/www/kuvat/ooo2.0-half.png Bug #70310 had similar problems after update.
Opened issue #75705, which is possibly a related problem.