Bug 1097902

Summary: Asciidoc import not reusing existing topics
Product: [Community] PressGang CCMS Reporter: Matthew Casperson <mcaspers>
Component: ImportToolAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.5CC: cbredesen, lnewson, mmurray
Target Milestone: ---   
Target Release: 1.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-22 21:32:42 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:
Bug Depends On:    
Bug Blocks: 1091570    

Description Matthew Casperson 2014-05-14 19:45:12 UTC
Originally from BZ#1089869.

I see the same issue for asciidoc so presumably the same underlying problem.

I imported a short .adoc file and topic1 was created.

I extended the same .adoc file with more text and on import two new topics were created, where the first contained exact duplicate docbook of topic1. So topic reuse did not occur.

See topic [34699] and [34700].

Comment 1 Matthew Casperson 2014-05-18 22:55:53 UTC
The test base in BZ#1095590 does this as well.

Comment 2 Matthew Casperson 2014-06-11 02:09:07 UTC
Fixed in Build 1.7-SNAPSHOT 201406111207

Asciidoctor was generating a lot of hex entities, like &#8216 for a single quote. These were being converted back, but this conversion back was not taken into account when testing xml files for equality.

Comment 3 Lee Newson 2014-06-16 05:46:17 UTC
Verified that topics are now being reused correctly.