Bug 840700

Summary: Remove XML content from Fixed URL's
Product: [Community] PressGang CCMS Reporter: Lee Newson <lnewson>
Component: CSProcessorAssignee: Lee Newson <lnewson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 1.xCC: jwulf, mcaspers, topic-tool-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.26.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-07 01:29:10 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:
Embargoed:

Description Lee Newson 2012-07-17 01:26:21 UTC
Currently if a title has XML elements in it, eg "Hello <literal>World</literal>" the fixed URL would be Hello_literalWorldliteral. As such the XML Elements should be stripped from the XML as well.

Comment 1 Lee Newson 2012-07-17 01:50:13 UTC
Fixed in 0.26.0

The builder will now remove XML elements from the Fixed URL's when it creates them.

Cause:

XML Elements weren't removed from the string before the it was escaped (or at all for that matter)

Consequence:

The fixed URL's were created with the XML element names in the URL. Since the XML is used for formatting and styling only this made the URL messy.

Fix:

Remove the XML elements from the string before it is escaped. See the createURLTitle() method in the DocbookBuilder class for more information.

Comment 2 Lee Newson 2013-06-07 01:29:10 UTC
Closing and setting as current release as no QA was performed by the original reporter. If there is still an issue with this bug still than please re-open it.