Bug 1009200

Summary: XML debugging info is sent to the wrong div in Chrome
Product: [Community] PressGang CCMS Reporter: Misty Stanley-Jones <misty>
Component: Web-UIAssignee: Lee Newson <lnewson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1CC: lcarlon, lnewson, mcaspers
Target Milestone: ---   
Target Release: 1.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 13968, PressGang CCMS Handbook-2.0-1 Build Date: 18-09-2013 08:22:49 Topic ID: 13979-537703 [Latest]
Last Closed: 2013-12-03 22:16:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Misty Stanley-Jones 2013-09-18 01:00:30 UTC
In Chrome 29.0.1547.65 on OS X, the XML debugging error message is not sent to the error message div, but is sent to the rendered output div. The error shows just under the topic title in the rendered output, and contains raw XML and HTML. For instance:

<parsererror><h3>This page contains the following errors:</h3><div>error on line 984 at column 16: Opening and ending tag mismatch: section line 0 and para </div><h3>Below is a rendering of the page up to the first error.</h3></parsererror>

Comment 1 Lee Newson 2013-09-18 07:04:13 UTC
Generally the error should display in both places so I doubt it was being sent to the wrong div. Was there a specific sequence of elements this occurred for Misty, or was it just any errors? Also it wasn't just left over from a previous error was it (the renderer only refreshes about every 2 secs, while the errors refresh a lot faster)?

Comment 2 Lee Newson 2013-09-18 07:09:21 UTC
Forgot to mention that perhaps the renderer shouldn't be attempting to display invalid content, but Matt would be able to say if it should be rendered.

Comment 3 Matthew Casperson 2013-09-24 01:12:53 UTC
Different browsers will attempted to render invalid XML is different ways. This is browser dependent and is not something we have control over.

Comment 6 Lee Newson 2013-10-12 07:26:12 UTC
Since we can't replicate this I believe it should be closed. However the part that should be decided on is if invalid XML should be sent to be rendered (mainly so the user experience is the same regardless of browser)? So I'm setting the needinfo flag for Matt, to get an answer to that question.

Comment 7 Lee Newson 2013-12-03 03:35:16 UTC
The information from above is no longer needed because as part of BZ#1019050 it won't render invalid XML anymore which will remove the browser specific error messages Misty saw. We've also included some loading information in the XML Error text box so that you can see that the DTD or whatever is loading. Anyways since this couldn't be replicated and we've removed the possibility to try and render invalid XML I'm going to mark this as RELEASE_PENDING (since 1.3 isn't release yet).