Support Article
Word document corrupted using the Application Document Wizard
SA-16150
Summary
Specification document produced by Application Document Wizard reported as corrupted if opened in Word 2010 application with French Language Pack installed.
The issue has been reported on the following version of Microsoft Word:
Microsoft Word 2010 (14.0.7113.5001) SP2 MSO (14.0.7106.5003)
Document reported as corrupted can be opened successfully using different versions of Microsoft Word.
Error Messages
Opening the generated document will show the following message: "Impossible d'ouvrir le fichier. Le fichier est corrompu."
Steps to Reproduce
- Generate a specification document using the Application Document Wizard in Pega 7.1.8.
- Open the document using the version of Word mentioned above.
Root Cause
A defect in Pegasystems’ code or rules.
From Pega 7.1.8 onwards the generation of Word documents is done Server-Side using the Java Library DOCX4J rather than client-side using the SilverLight control.
Documents generated in this way are produced using the Microsoft Open XML file format which is the standard format since Microsoft Word 2007.
A document in this format use the ".docx" extension and is a ZIP file containing XML and other data files.
A document generated with the version of the DOCX4J library included in Pega 7.1.8 contains tag values, which are not accepted by Microsoft Word 2010 with the French Language Pack installed.
Resolution
Apply HFIX-24080 which updates the DOCX4J library and solve this issue.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.