Bug 1036906

Summary: Cannot view translated revision history topics
Product: [Community] PressGang CCMS Reporter: Matthew Casperson <mcaspers>
Component: Web-UIAssignee: Lee Newson <lnewson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2CC: cbredesen, lnewson
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:
Last Closed: 2013-12-03 22:16:01 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:

Comment 1 Lee Newson 2013-12-02 22:36:15 UTC
Just adding this appears to be a Firefox only issue as I can't reproduce it in Chrome.

For reference this is the error message:

Uncaught exception was detected. Redirecting you to the home page.
Exception: (TypeError) : d is null

Comment 2 Lee Newson 2013-12-02 23:19:34 UTC
Fixed in 1.3-SNAPSHOT build 201312030913

The problem was that the additional xml being sent to be parsed was null and the Firefox parser implementation crashes when you do that. As such I've made two changes: 

1. The additional xml won't be processed if it is null or empty.
2. The convertStringToDocument method will now check if the xml value parsed is null and handle it accordingly.

Comment 3 Matthew Casperson 2013-12-03 02:34:46 UTC
Confirmed the fix.