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:

  1. Go to https://ej2.syncfusion.com/demos/document-editor/default/
  2. Open input.docx
  3. Click download docx in top right of editor. The output is corrupted

Attachment: input_520fcc7c.zip

4 Replies

KM Kavitha Muralitharan Syncfusion Team September 19, 2024 08:18 AM UTC

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



SS SalmanBaris ShahulHameed Syncfusion Team September 23, 2024 12:23 PM UTC

Hi Robert,

we have confirmed the reported issue 'Document Corrupted while exportingas 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



TV Thamizhselvan Varadharajan Syncfusion Team October 15, 2024 01:42 PM UTC

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:

  1. Extract the custom package from the below attachment.
  2. Copy the items inside the folder.
  3. Then go to the sample location and then navigate to the folder node_modules\@syncfusion\. You can see the ej2-documenteditor folder.
  4. Then paste it inside the ej2-documenteditor folder.
  5. 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


SN Saran Nagaraj Syncfusion Team October 22, 2024 08:16 AM UTC

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.



Loader.
Up arrow icon