This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6385 - saving as breaks links to html files
Summary: saving as breaks links to html files
Status: RESOLVED FIXED
Alias: None
Product: Amaya
Classification: Unclassified
Component: (X)HTML (show other bugs)
Version: 11.0
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: lcarcone
QA Contact: lcarcone
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-08 10:47 UTC by Bartolom
Modified: 2015-06-20 16:34 UTC (History)
5 users (show)

See Also:


Attachments

Description Bartolom 2009-01-08 10:47:09 UTC
In Amaya 11.0 for Windows XP when a html document is saved as in another 
directory, the links to html files are broken.

Steps to reproduce:
1. Create two directories (test1 and test2)
2. In the test1 directory copy 3 files (test.html, test.css and test.png)
3. In the test1 directory create a document with links to the three test 
files. For instance, links.html:
<p>Link to <a href="test.html">html</a></p>
<p>Link to <a href="test.css">css</a></p>
<p>Link to <a href="test.png">png</a></p>
4. Save the document as link2.html in the test2 directory.
Result:
<p>Link to <a href="test.html">html</a></p>
<p>Link to <a href="../test1/test.css">css</a></p>
<p>Link to <a href="../test1/test.png">png</a></p>
Expected result:
<p>Link to <a href="../test.html">html</a></p>
<p>Link to <a href="../test1/test.css">css</a></p>
<p>Link to <a href="../test1/test.png">png</a></p>
Comment 1 Vatton 2009-01-12 14:03:09 UTC
It's not a bug:
The goal is to keep pointers to original resources.
If the target of the link is the document itself, Save as should keep
the link to the document itself.
Comment 2 Bartolom 2009-01-12 16:22:32 UTC
If the goal is to keep pointers to original resources, this is not happening. As I point in the bug report, the link to a css file or a png file is kept when the document is saved in another directory, but the link to a html file is broken.
Comment 3 lcarcone 2009-01-13 09:38:21 UTC
This problem is fixed in CVS version
Comment 4 Jackie 2015-06-20 16:33:58 UTC
Please make my changes
Comment 5 Jackie 2015-06-20 16:34:48 UTC
Please make my changes