You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/05/15 10:43:17 UTC

[Issue 124906] New: Save as - HTML Document (Calc): Relative hyperlinks become absolute

https://issues.apache.org/ooo/show_bug.cgi?id=124906

          Issue ID: 124906
        Issue Type: DEFECT
           Summary: Save as - HTML Document (Calc): Relative hyperlinks
                    become absolute
           Product: Calc
           Version: OOo 3.3 or older
          Hardware: All
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: save-export
          Assignee: issues@openoffice.apache.org
          Reporter: rainerbielefeld_ooo_qa@bielefeldundbuss.de

Created attachment 83395
  --> https://issues.apache.org/ooo/attachment.cgi?id=83395&action=edit
Test Kit showing export results

Steps how to reproduce Reproducible with "AOO 4.0.1 – German UI / German locale
[AOO401m3(Build:9712) - Rev. 1520285 2013-09-05 13:52:01]" on German WIN7 Home
Premium (64bit)", Common 4.0 User Profile (similar to proceeding what created
attached test kit):

0. Create a Folder + Subfolder + few simple documents in subfolder
1. From AOO start center open new Calc document
2. Menu 'Tools -> Options -> Load/Save -> General': Check both "Save URLs
   Relative'
3. In a cell insert a word and apply hyperlink to a document in subfolder
4. Save as .ods
5. Menu 'File -> Save As -> Calc HTML document'
6. Close all documents
7. Open both documents in Folder and check hyperlinks: work fine
8. Close all documents
9. Modify name of Folder
10. Open both documents in Folder
   > In .ods hyperlinks to documents in Subfolder still work
   Bug: in .html links do no longer work, because they have been saved as 
        absolute links

Additional Info:
----------------
(a) Already a problem with OOo 3.1.1
(b) Test kit: see description in "DocumentWithLinks001.ods"
(c) Not a problem in Writer
(d) Not a Problem in 'File -> Export -> Xhtml' from Calc
(e) Not a problem with save as .xls

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 124906] Save as - HTML Document (Calc): Relative hyperlinks become absolute

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124906

kvistbo1 <bo...@kvist.nu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bo@kvist.nu

--- Comment #1 from kvistbo1 <bo...@kvist.nu> ---
Created attachment 84489
  --> https://issues.apache.org/ooo/attachment.cgi?id=84489&action=edit
Can't save spreadsheet as HTML with relative links

Can't save a calc spreadsheet as HTML containing relative URLs, they will be
changed to absolute links.

Piece of cake to reproduce.

Create one testfile.txt. Create one linktestfile.ods containing a relative URL
pointing to testfile.txt. Save linktestfile.ods and also save it as
linktestfile.html. 

Open linktestfile.html with notepad and look at the link, it will always be
absolute.

No combination of settings will cause the link to be other than an absolute
link including disk name etc.

I found this error after debugging a long evening and night in
AOO411m6(Build:9775)  -  Rev. 1617669
2014-08-13 09:06:54 (Mi, 13 Aug 2014)
running on Windows 7 ultimate (64).

Checked two older computers running Win XP Home and Pro with OO 3.4.1. The bug
exists there too.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.