Bug 1112060 - Titles in ODT are being converted into a topic, plus nesting issues.
Summary: Titles in ODT are being converted into a topic, plus nesting issues.
Keywords:
Status: NEW
Alias: None
Product: PressGang CCMS
Classification: Community
Component: ImportTool
Version: 1.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-23 04:53 UTC by Jared MORGAN
Modified: 2023-06-23 14:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
source doc (68.01 KB, application/vnd.oasis.opendocument.text)
2014-06-23 04:53 UTC, Jared MORGAN
no flags Details

Description Jared MORGAN 2014-06-23 04:53:03 UTC
Created attachment 911255 [details]
source doc

Description of problem:

http://skynet.usersys.redhat.com:8080/pressgang-ccms-ui/#ContentSpecFilteredResultsAndContentSpecView;query;contentSpecIds=22798

If an ODT contains a Title (correctly styled), it is added as a topic, instead of being parsed out of the conversion, or added as the book name in the part of the import wizard that specifies Product and Book Name.

The structure inside the erroneous topic (in this case 38730) is:

<section>
	<title>Untitled</title>
	<para>
		Red Hat Enterprise Linux OpenStack Platform Certification Test Suite 5.0 User Guide
	</para>
</section>

Additionally, there is unnecessary nesting happening upon import as well. The structure originally imported is:

Chapter: Untitled
  Initial Text:
    Untitled [38730]
  Section: Untitled
    Section: Untitled
      Section: Abstract
        Initial Text:
          Abstract [38731]
        Section: Introduction

In this case, Introduction is the first chapter element.

Nesting below this does not conform to the nesting in the document (attached for reference):

Chapter: Untitled
  Initial Text:
    Untitled [38730]
  Section: Untitled
    Section: Untitled
      Section: Abstract
        Initial Text:
          Abstract [38731]
        Section: Introduction
          Initial Text:
            Introduction [38732]
          Section: Reporting a Product Bug
            Initial Text:
              Reporting a Product Bug [38733]
            Section: Release Notes
              Initial Text:
                Release Notes [38734]
              Section: Installation and Configuration
                Section: Partner Prerequisites
                  Initial Text:
                    Partner Prerequisites [38735]
                  Install and Configure Red Hat Enterprise Linux OpenStack Platform [38736]
                  Install the Test Suite using Subscription Manager [38737]
                  Install the Test Suite using RHN or CDN [38738]
                  Modify Configuration Files [38739]
                  Certification Workflow [38740]
                  Running Tests [38741]
                  Submitting Data Logs [38742]
                  Submitting Data Logs Automatically [38743]
                  Provide Specific Software Details [38744]
                  Submitting Data Logs Manually [38745]
                  Bugzilla Status Reference [38746]
                  Responding to Reviewer Feedback (Subset Tests) [38747]
                  Configuring the Subset Tests [38748]
                  Running and Uploading Subset Tests [38749]
                  Configuring Tempest with Red Hat Enterprise Linux OpenStack Platform [38750]
                  Configuring Tempest for Network, Block Storage, and Object Storage Tests [38751]
                  Procedure: Block Storage (Cinder) Test Configuration [38752]
                  Procedure: Networking (Neutron) Test Configuration [38753]
                  Procedure: Object Storage (swift) Test Configuration [38754]

It would be great if any headings titled "Abstract" could be auto-added using the Abstract metadata element when imported.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Lee Newson 2014-06-23 05:01:09 UTC
For the titles part that isn't a bug and is an import configuration issue. See BZ#1083834 for more information.


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