Preview and thumbnail of big files docx or doc (more than 15 MB) displayed just as text without any formatting or images.

Description

Preview and thumbnail of big files .docx or .doc (more than 15 MB) displayed just as text without any formatting or images.

Steps to reproduce:
1. Configure zip installation ACS 6.2.2 with ATS (version 1.3.2)
2. Upload a .docx document of more than 15 MB in Share UI (with some images and formatting)
3. Click on the document to preview the document

Expected Behaviour:
display the preview and thumbnail with all formatting and images

Observed Behaviour:
display the preview and thumbnail just as text without any formatting or images

Correct preview log entries:

Incorrect preview log entries:

The File, where preview and thumbnail work fine, uses Local:libreoffice. (less than 15 MB)
File where preview and thumbnail shows only text uses Local:ooXmlToPdfViaText (more than 15 MB)

If the .docx file size is more than 15 MB, it uses Local:ooXmlToPdfViaText and displays just plain text in preview and thumbnail.
The same File in pdf format, preview works fine.(as it uses pdf-renderer)

Environment

ACS 6.2.2
ATS 1.3.2

Testcase ID

None

Assignee

Kaz Kono

Reporter

Shilpa Tupe

ACT Numbers

00382829

Bug Priority

Category 2