View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010877 | mantisbt | printing | public | 2009-08-25 17:31 | 2012-02-28 05:07 |
Reporter | Buga | Assigned To | dhx | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0rc1 | ||||
Target Version | 1.2.1 | Fixed in Version | 1.2.1 | ||
Summary | 0010877: Word Export causes Error Message | ||||
Description | When you want to print some issues to word you get an error message in word that some css files are missing. See the screenshot. | ||||
Steps To Reproduce |
| ||||
Tags | patch | ||||
Attached Files | |||||
duplicate of 0011017 |
|
I've got a partial patch for this issue. Why it's only partial is because I can't reproduce all the error messages in the screen shot above. If the user who posted the initial issue could get back with a list of plugins that are installed, I could likely fix that part too. |
|
The reason for the errors are that Word needs absolute paths to files. The C:... prefix in the screenshot is not coming from Mantis but from Word trying to resolve a relative path. Here's a partial fix (it fixes the default.css problem). I could guesstimate a fix for the plugin_file.php error too but I'm hesitant since I can't reproduce and test it myself. From 212e5267311fd387be521ab6f00235927880a57e Mon Sep 17 00:00:00 2001 core/html_api.php | 4 ++-- diff --git a/core/html_api.php b/core/html_api.php
|
|
I should add that that the above patch fixes the problems we have with Word reports in our install of Mantis. We don't use any plugins that bring in additional style sheets. |
|
Works for me in fixing like you said default.css still run into the plugin.css file error like you mentioned, but at least it's more presentable then it was before. thanx |
|
Thanks for the patch and sorry for the delay in committing it. It's now fixed ready for the next release of MantisBT. As for the SourceIntegration plugin CSS error I'll need to report it upstream. |
|
MantisBT: master-1.2.x d1d00c02 2009-12-21 05:17 Committer: dhx Details Diff |
Fix 0010877: Word export results in missing CSS errors Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010877 |
|
mod - core/html_api.php | Diff File | ||
MantisBT: master 9aff88b6 2009-12-21 05:17 Committer: dhx Details Diff |
Fix 0010877: Word export results in missing CSS errors Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010877 |
|
mod - core/html_api.php | Diff File |