View Issue Details

IDProjectCategoryView StatusLast Update
0012633mantisbthtmlpublic2014-12-08 02:08
ReporterKirill Assigned Todhx  
PriorityhighSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.3.0dev 
Target Version1.3.0-beta.1 
Summary0012633: Error generated structure-dom in bug_report_page.php
Description

Ошибка синтаксического анализа XML: несоответствующий тег. Ожидается: </table>.
Адрес: http://bug.kraeg.ru/bug_report_page.php
Строка 66, символ 5: </td>
------------------^

Error parsing XML: not correct tag. Waiting: </table>.
Address: http://bug.kraeg.ru/bug_report_page.php
Line 66, char 5: </td>
------------------^

Tagspatch
Attached Files
20101227_151831.png (55,815 bytes)   
20101227_151831.png (55,815 bytes)   
0012633.patch (1,200 bytes)   
From d19c339d473bd9efbd442e416d23046ef0f49269 Mon Sep 17 00:00:00 2001
From: Kirill Krasnov <krasnovforum@gmail.com>
Date: Mon, 27 Dec 2010 15:20:34 +0200
Subject: [PATCH] Fix 0012633: move </td> and </tr> to php check.

---
 bug_report_page.php |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/bug_report_page.php b/bug_report_page.php
index a4990f1..b48c786 100644
--- a/bug_report_page.php
+++ b/bug_report_page.php
@@ -531,12 +531,11 @@ print_recently_visited();
 		<td>
 			<label><input <?php echo helper_get_tab_index() ?> type="radio" name="view_state" value="<?php echo VS_PUBLIC ?>" <?php check_checked( $f_view_state, VS_PUBLIC ) ?> /> <?php echo lang_get( 'public' ) ?></label>
 			<label><input <?php echo helper_get_tab_index() ?> type="radio" name="view_state" value="<?php echo VS_PRIVATE ?>" <?php check_checked( $f_view_state, VS_PRIVATE ) ?> /> <?php echo lang_get( 'private' ) ?></label>
-	<?php
-		}
-	?>
 		</td>
 	</tr>
-<?php //Relationship (in case of cloned bug creation...)
+	<?php
+	}
+	//Relationship (in case of cloned bug creation...)
 	if( $f_master_bug_id > 0 ) {
 ?>
 	<tr <?php echo helper_alternate_class() ?>>
-- 
1.7.3.1.msysgit.0

0012633.patch (1,200 bytes)   

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 

Activities

dhx

dhx

2011-01-07 04:51

reporter   ~0027839

Thanks Kirill, I've committed your patch!

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036472

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master 644a1996

2010-12-27 08:20

Kirill Krasnov

Committer: dhx


Details Diff
Fix 0012633: bug_report_page XHTML markup error table tags

bug_report_page was producing some invalid XHTML markup due to incorrect
placement of closing </td> and </tr> tags.

Signed-off-by: David Hicks <hickseydr@optusnet.com.au>
Affected Issues
0012633
mod - bug_report_page.php Diff File