View Issue Details

IDProjectCategoryView StatusLast Update
0011496mantisbtprintingpublic2012-03-04 02:08
Reporterspacomp Assigned Toatrol  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version1.2.0rc2 
Summary0011496: Viewing Issues in a Word Format missed with formatting
Description

Viewing Issues in a Word Format missed with formatting

Steps To Reproduce

[1] Install Mantis Verision 1.2.0 RC2
[2] Goto View Issues
[3] Select Print Reports - Only 2 options available compared to previous versions
[4] Click on MS Word Format [ICON] to extract the report in a word format
[5] Got a warning as "css\default.css"
[6] Acknowledge the Warning with "OK"
[7] Generates the file in a word format, without the proper formatting for the most of the columns headers pertaining to the issue.

Check the attached file in this regard.

TagsNo tags attached.
Attached Files
MANTIS.jpeg (145,606 bytes)   
MANTIS.jpeg (145,606 bytes)   
Clubbed_Characters.JPG (292,085 bytes)   
Clubbed_Characters.JPG (292,085 bytes)   

Relationships

duplicate of 0010877 closeddhx Word Export causes Error Message 
related to 0013941 closedatrol Missing newlines in Word export 

Activities

atrol

atrol

2010-10-25 05:21

developer   ~0027149

spacomp, this issue is not reproducible with current version of MantisBT.
Feel free to reopen the issue if there are still problems after upgrading.
Seems to be fixed since version 1.2.1, see also 0010877

spacomp

spacomp

2010-11-24 07:16

reporter   ~0027469

Here is a solution for it [Though Partial]

core/html_api.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/html_api.php b/core/html_api.php
index 2aec873..f0bd26c 100644
--- a/core/html_api.php
+++ b/core/html_api.php
@@ -341,12 +341,12 @@ function html_title( $p_page_title = null ) {
*/
function html_css() {
$t_css_url = config_get( 'css_include_file' );

  • echo "\t", '<link rel="stylesheet" type="text/css" href="', helper_mantis_url( $t_css_url ), '" />', "\n";
  • echo "\t", '<link rel="stylesheet" type="text/css" href="', string_sanitize_url( helper_mantis_url( $t_css_url ), true ), '" />', "\n";

    Add right-to-left css if needed

    if( lang_get( 'directionality' ) == 'rtl' ) {
    $t_css_rtl_url = config_get( 'css_rtl_include_file' );

  • echo "\t", '<link rel="stylesheet" type="text/css" href="', helper_mantis_url( $t_css_rtl_url ), '" />', "\n";
  • echo "\t", '<link rel="stylesheet" type="text/css" href="', string_sanitize_url( helper_mantis_url( $t_css_rtl_url ), true ), '" />', "\n";
    }
spacomp

spacomp

2010-11-24 07:18

reporter   ~0027470

<<<<<<<Following change in code will give a partial solution>>>>>>

core/html_api.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/html_api.php b/core/html_api.php
index 2aec873..f0bd26c 100644
--- a/core/html_api.php
+++ b/core/html_api.php
@@ -341,12 +341,12 @@ function html_title( $p_page_title = null ) {
*/
function html_css() {
$t_css_url = config_get( 'css_include_file' );

  • echo "\t", '<link rel="stylesheet" type="text/css" href="', helper_mantis_url( $t_css_url ), '" />', "\n";
  • echo "\t", '<link rel="stylesheet" type="text/css" href="', string_sanitize_url( helper_mantis_url( $t_css_url ), true ), '" />', "\n";

    Add right-to-left css if needed

    if( lang_get( 'directionality' ) == 'rtl' ) {
    $t_css_rtl_url = config_get( 'css_rtl_include_file' );

  • echo "\t", '<link rel="stylesheet" type="text/css" href="', helper_mantis_url( $t_css_rtl_url ), '" />', "\n";
  • echo "\t", '<link rel="stylesheet" type="text/css" href="', string_sanitize_url( helper_mantis_url( $t_css_rtl_url ), true ), '" />', "\n";
    }

But I have a issue with the CLUBBING the various bulleted points being clubbed as mass string of characters.

Please see the attached image - "Clubbed_Characters.JPG"

spacomp

spacomp

2010-11-25 22:26

reporter   ~0027490

But I have a issue with the CLUBBING the various bulleted points being clubbed as mass string of characters.

Please see the attached image - "Clubbed_Characters.JPG"

atrol

atrol

2012-02-22 10:55

developer   ~0031293

The issue concerrning css/default.css is fixed.
I will report another issue for the problem mentioned at 0011496:0027490

dregad

dregad

2012-02-27 20:31

developer   ~0031340

@atrol, you did not set the fixed in version, and there are no changesets attached to this - is "fixed" the right resolution code ?

atrol

atrol

2012-02-28 05:07

developer   ~0031342

@dregad, thanks for the hint.
Part 1 of the issue is a duplicate of 0010877 where you can find the changesets.
I reported 0013941 for part 2 of the issue.