View Issue Details

IDProjectCategoryView StatusLast Update
0009310mantisbtsub-projectspublic2019-03-23 14:09
Reportermozzis Assigned Tocproensa  
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionwon't fix 
PlatformWindows XP SP3 
Product Version1.1.1 
Summary0009310: Problem in subproject dropdown on main page
Description

When a project with subprojects is selected in the dropdown at the top level of mantis, the subproject dropdown list the subprojects with each project name preceded the the characters "@raquo; " (except that the '@' character is actually an unprintable character that shows up as a box.)

Additional Information

Screenshot clip is attached.

Tagspatch
Attached Files
example.png (3,024 bytes)   
example.png (3,024 bytes)   

Activities

lukasschroeder

lukasschroeder

2008-06-29 08:27

reporter   ~0018224

appears to be a utf-8 java script issue:

patch against:
print_api.php 5127 2008-03-20 08:07:08Z vboctor

e.g. for nbsp and raquo use these php chr() codes:
t_nsbp = chr(194).chr(160);
t_raquo = chr(194).chr(187);

--- core/print_api.php (revision 4)
+++ core/print_api.php (working copy)
@@ -588,8 +588,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 = chr(194).chr( 160 );
  • $t_raquo = chr(194).chr( 187 );
  • $t_name = addslashes( str_repeat( $t_nbsp , $t_level ) . str_repeat( $t_raquo, $t_level ) . ' ' . 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 );
blueray

blueray

2008-06-29 19:48

reporter   ~0018226

Thanks the patch. It works on version 1.1.1.
Going to test it on 1.1.2.

Eric,

mozzis

mozzis

2008-06-30 09:20

reporter   ~0018236

Thanks, this fixes the issue for me as well.

lukasschroeder

lukasschroeder

2008-06-30 10:42

reporter   ~0018238

see also 0007999 and 0008501

cproensa

cproensa

2019-03-23 14:09

developer   ~0061747

We are resolving this issue as "no change required", because it was reported against an old version of MantisBT which is no longer supported.

We recommend that you upgrade to the latest stable version [1]; if after doing so the problem still exists, do not hesitate to reopen the issue.

[1] http://www.mantisbt.org/download.php