Bug 823429 - The show_bug.cgi output is not valid HTML
Summary: The show_bug.cgi output is not valid HTML
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: User Interface
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 4.4-3
Assignee: Matt Tyson 🤬
QA Contact: tools-bugs
URL:
Whiteboard:
: 927041 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-21 09:17 UTC by Jan Pazdziora
Modified: 2018-12-09 06:29 UTC (History)
5 users (show)

Fixed In Version: 4.4-3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-20 11:07:04 UTC
Embargoed:


Attachments (Terms of Use)
Screenshot of the broken display. (30.68 KB, image/png)
2012-05-21 09:22 UTC, Jan Pazdziora
no flags Details
screenshot for comment8 (148.29 KB, image/png)
2013-05-09 08:02 UTC, wangjing
no flags Details
screenshot for comment11 (174.80 KB, image/png)
2013-05-09 14:31 UTC, wangjing
no flags Details

Description Jan Pazdziora 2012-05-21 09:17:32 UTC
Description of problem:

The output of show_bug.cgi does not seem to be valid HTML 4.01 Transitional.

Version-Release number of selected component (if applicable):

4.2

How reproducible:

Deterministic.

Steps to Reproduce:
1. Go to http://validator.w3.org/check?uri=https%3A%2F%2Fbugzilla.redhat.com%2Fshow_bug.cgi%3Fid%3D737830&charset=%28detect+automatically%29&doctype=Inline&group=0
or go to validator.w3.org and put in URL https://bugzilla.redhat.com/show_bug.cgi?id=737830
  
Actual results:

Result: 	10 Errors, 16 warning(s) 

Warning Line 277, Column 216: cannot generate system identifier for general entity "version"

…bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&version=4.2">here</a>.</div>

and many more.

Expected results:

Result: 	Passed 

Additional info:

Comment 1 Jan Pazdziora 2012-05-21 09:22:07 UTC
Created attachment 585768 [details]
Screenshot of the broken display.

One of the ill effects is ul within ul which leads to broken display. This is Firefox 12.0.

Comment 2 wangjing 2012-09-29 07:30:33 UTC
hi~Jan.
I see the error results on the page validator.w3.org, but I didn't see the broken display as in the attachment by opening the https://bugzilla.redhat.com/show_bug.cgi?id=737830, this Firefox 15.0.

Comment 3 Simon Green 2012-10-10 06:21:23 UTC
The display problem was fixed many months ago.

However, we still aren't producing compliant HTML. I've checked upstream, and they aren't either. Some errors are customisations on our part (ID "USEFUL-LINKS" already defined). Others come from upstream.

I'm going to mark this as part of the initial Bugzilla 4.4 release. Any changes that affect upstream mean we can submit a patch for it.

Comment 6 Matt Tyson 🤬 2013-02-14 05:28:51 UTC
I've fixed up the broken HTML caused by Red Hat extensions.  There's still some  warnings from the upstream HTML, but they don't look like they would cause any page breakage.

Comment 7 Simon Green 2013-04-15 22:47:54 UTC
*** Bug 927041 has been marked as a duplicate of this bug. ***

Comment 9 wangjing 2013-05-09 08:02:52 UTC
Created attachment 745573 [details]
screenshot for comment8

Comment 12 wangjing 2013-05-09 14:31:26 UTC
Created attachment 745679 [details]
screenshot for comment11


Note You need to log in before you can comment on or make changes to this bug.