Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document converter not creating subpages #19

Open
MasseyIsaako opened this issue Sep 10, 2019 · 0 comments
Open

Document converter not creating subpages #19

MasseyIsaako opened this issue Sep 10, 2019 · 0 comments

Comments

@MasseyIsaako
Copy link

MasseyIsaako commented Sep 10, 2019

There is a website hosted on CWP that has this installed and has no ability to create subpages. The Word document they provided was correctly formatted, complete with three Heading 1 headings and some paragraph content with media. However, upon uploading the file, there is no user feedback as to the state of the import (neither pass or fail). Due to this, the module falls short at providing this functionality.

The import in some cases replaces the content of the current page, but never succeeds in creating and populating child pages. On a side note, there has been some confusion between a couple of developers as to when the Import actually happens, whether that is immediately upon upload or whether it occurs upon clicking Save on the page.

Here are some notes from our investigation (Note: these issues were identified in a test environment):

  • CWP version: 2.2.3
  • Framework version: 4.3.3
  • Module version: 2.0.2

Options not working:

  • Split document into pages (for each heading 1|for each heading2)
  • Keep the original document. Add links to it on TOC, if enabled
  • Replace this page with a Table of Contents

Tested with both attempting to upload a .docx from my computer, and from using an existing uploaded .docx from the CMS file manager.

Javascript Error on uploadedAfter

Using the upload field to add the docx, there's a javascript error, and the upload field appears like it's stuck (though the file has infact uploaded at this point)TypeError: n is undefinedbundle.js:1:181891

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants