To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75705
                 Issue #|75705
                 Summary|AutoRecovery messes relative image paths
               Component|Word processor
                 Version|OOo 2.2 RC3
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|open-import
             Assigned to|mru
             Reported by|magi42





------- Additional comments from [EMAIL PROTECTED] Sat Mar 24 13:31:33 +0000 
2007 -------
If OOo saves my document automatically and then crashes, all images with path
"/home/magi" (home directory) replaced with ".." after recovery.

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 #11624 had similar problems, as did bug #70310 after update. Both are closed
and were slightly different anyhow, so I'm creating a new issue.

This occurred in Writer, but possibly affects other document types as well.

Steps to reproduce:

1. Enable AutoRecovery (set time to 1 minute)
2. Create a new text document
3. Insert a linked image
4. Do NOT save the document manually
5. Wait until the document is automatically saved
6. Kill the soffice.bin process (kill -9)
7. Restart OOo and recover the document

Observe that the image link has corrupted.

The XML representation changes for example from:

<draw:image xlink:href="../kuvat/rantakuva-sml.jpg" xlink:type="simple"
xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="&lt;Kaikki 
muodot&gt;"/>

in original document to:

<draw:image xlink:href="/../texts/test/oo/kuvat/rantakuva-sml.jpg"
xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>

in recovered document.

I'm not sure if the default path affects this somehow. My default path is
usually "/home/magi/texts/" ($HOME/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". However, this seems to work with default path set
to "/home/magi" ($HOME), so maybe the default path is not the problem.

My platform is Ubuntu/Edgy, OOo 2.2rc3-fi. Similar corruption has happened also
earlier with many other versions.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to