- Home
- Forum
- JavaScript - EJ 2
- Document Editor Corrupting Word File
Document Editor Corrupting Word File
I am opening this file in the Document editor and when I try to download it as a Docx, it is corrupted.
Steps to reproduce:
- Go to https://ej2.syncfusion.com/demos/document-editor/default/
- Open input.docx
- Click download docx in top right of editor. The output is corrupted
Attachment: input_520fcc7c.zip
Hi Robert,
We can reproduce the reported issue "Document Corrupted while exporting". Currently, we are validating and will get back to you by September 23, 2024.
Regards,
Kavitha M
Hi Robert,
we have confirmed the reported issue 'Document Corrupted while exporting' as a defect and logged a defect report. We will fix this issue in our upcoming patch release which is scheduled for October 16, 2024.
You can track the status of the bug through the below feedback link:
https://www.syncfusion.com/feedback/61504/resolve-the-issue-in-word-exporting-case
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Regards,
Salman
Hi Robert,
We have prepared a custom package for the reported issue with the fix, which is attached here.
Please find below the steps to use a custom package:
- Extract the custom package from the below attachment.
- Copy the items inside the folder.
- Then go to the sample location and then navigate to the folder node_modules\@syncfusion\. You can see the ej2-documenteditor folder.
- Then paste it inside the ej2-documenteditor folder.
- Then build and run the project.
Note: Please don’t give npm install or npm update. It will refresh the whole package.
The fix will be included in upcoming weekly release which is scheduled for October 22, 2024., without any further delay. Until then, please use the provided custom package.
Attachment: syncfusionej2documenteditor27.1.53_a759633d.zip
Hi Robert,
We are glad to announce that our patch release (v27.1.55) has been rolled out successfully. In this release, we have added the fix for the issue 'Document Corrupted while exporting'.
Please upgrade to the latest version packages to resolve this issue:
NPM link:
https://www.npmjs.com/package/@syncfusion/ej2-documenteditor
NuGet links:
https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.Core/
https://www.nuget.org/packages/Syncfusion.Ej2.Wordeditor.ASPNet.MVC5/
Feedback link:
https://www.syncfusion.com/feedback/61504/resolve-the-issue-in-word-exporting-case
Please let us know if you need any further assistance.
Root cause:
The issue is triggered when serializeTableCells is executed twice for the same table cell, causing incomplete serialization of the document structure. This results in the missing closing tags, affecting document validity and potentially causing rendering issues.
- 4 Replies
- 5 Participants
-
RM Robert Muresan
- Sep 19, 2024 12:56 AM UTC
- Oct 22, 2024 08:16 AM UTC