View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007999 | mantisbt | other | public | 2007-05-21 11:57 | 2007-10-24 02:27 |
Reporter | zend | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.0a3 | ||||
Fixed in Version | 1.1.0rc2 | ||||
Summary | 0007999: 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. | ||||
Tags | patch | ||||
Attached Files | 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 ); | ||||
Change in strings_english.txt from $s_charset = 'utf-8'; to $s_charset = 'windows-1252'; fix the problem. |
|
See attached patch(print_api.php.diff). It works for me without changing $s_charset. |
|
Does the fix for 0007497, i.e using "»" fix this issue too? Please confirm so that I can apply the patch. |
|
I've applied a fix to use '& raquo;' (without the space) in print_api.php L583. |
|