aigeano / pympler

Automatically exported from code.google.com/p/pympler
Apache License 2.0
0 stars 0 forks source link

HTML reports generated by HtmlStats have hardcoded fully qualified paths #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate a HTML report using class_tracker's tracker.stats.HtmlStat().
2. Move the generated file set to another filesystem location or try to publish 
it using a Web server.

What is the expected output? What do you see instead?

Expected: Working Images and class report pages links.
Obtained: Broken links and browser-specific broken image logos.

What version of the product are you using? On what operating system?

SVN trunk tip as of 2011-01-23.

Please provide any additional information below.

See attched patch that changes generation of paths in HTML tags src attributes 
to be relative to the current page.

Original issue reported on code.google.com by cra...@gmail.com on 23 Jan 2011 at 3:42

Attachments:

GoogleCodeExporter commented 9 years ago
Patch applied in r289.

Many thanks for the nice patch.

Original comment by lhae...@gmail.com on 23 Jan 2011 at 4:33