View Issue Details

IDProjectCategoryView StatusLast Update
0007999mantisbtotherpublic2007-10-24 02:27
Reporterzend Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.0a3 
Fixed in Version1.1.0rc2 
Summary0007999: Project list view corrupted
Description

With the new release 1.1.0a3 we have in the list of projects for the subprojects is showing "?" instead of ">" in the project list.

Steps To Reproduce

Have a list with Subprojects

Additional Information

In production 1.1.0a1 - No problem.
In the official 1.10a3 it happened only with a Firebox browser.
With CVS update version – All tested browers.

Tagspatch
Attached Files
Mantis0a1.JPG (12,950 bytes)   
Mantis0a1.JPG (12,950 bytes)   
Mantis0a3.JPG (16,439 bytes)   
Mantis0a3.JPG (16,439 bytes)   
print_api.php.diff (991 bytes)   
Index: /home/sogabe/public_html/mantis/core/print_api.php
===================================================================
--- /home/sogabe/public_html/mantis/core/print_api.php  (revision 107)
+++ /home/sogabe/public_html/mantis/core/print_api.php  (working copy)
@@ -575,8 +575,9 @@
 
        for ($i=0;$i<$t_project_count;$i++) {
            $t_id = $t_project_ids[$i];
-           $t_nbsp = chr( 160 );
-           $t_name = addslashes( str_repeat( $t_nbsp , $t_level ) . str_repeat( '�', $t_level ) . ' ' . project_get_field( $t_id, 'name' ) );
+           $t_nbsp = '\u00a0';
+           $t_guillemet = '\u00bb';
+           $t_name = str_repeat( $t_nbsp , $t_level ) . str_repeat( $t_guillemet, $t_level ) . ' ' . addslashes( project_get_field( $t_id, 'name' ) );
            echo 'subprojects[\'' . $t_top_id . '\'][\'' . $p_trace . ';' . $t_id . '\'] = \'' . $t_name . '\';' . "\n";
 
            print_extended_project_browser_subproject_javascript( $p_trace . ';' . $t_id );
print_api.php.diff (991 bytes)   

Relationships

related to 0007497 closedvboctor Summary page is little of Garble 
has duplicate 0008501 closeddregad Incorrect characters when $g_show_extended_project_browser is enabled 

Activities

zend

zend

2007-05-30 08:45

reporter   ~0014655

Change in strings_english.txt from $s_charset = 'utf-8'; to $s_charset = 'windows-1252'; fix the problem.

seiji

seiji

2007-10-01 07:08

reporter   ~0015780

See attached patch(print_api.php.diff).

It works for me without changing $s_charset.

vboctor

vboctor

2007-10-10 13:32

manager   ~0015840

Does the fix for 0007497, i.e using "»" fix this issue too? Please confirm so that I can apply the patch.

vboctor

vboctor

2007-10-11 00:03

manager   ~0015845

I've applied a fix to use '& raquo;' (without the space) in print_api.php L583.