Bug 1097902 - Asciidoc import not reusing existing topics
Summary: Asciidoc import not reusing existing topics
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: ImportTool
Version: 1.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.7
Assignee: Matthew Casperson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1091570
TreeView+ depends on / blocked
 
Reported: 2014-05-14 19:45 UTC by Matthew Casperson
Modified: 2014-08-04 22:28 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-22 21:32:42 UTC
Embargoed:


Attachments (Terms of Use)

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.


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