-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Write / Save Corrupts Workbook #1686
Comments
Here is the information from the error log: |
Thanks for your issue. If you are reporting a new issue, make sure that we do not have any duplicates already exist. If it does not work with Go 1.21.0, please reference the issues #1465, #1595, #1603, #1608, #1614, #1619, #1620, #1621, #1623, #1633, #1637, #1641, #1642, #1648, #1651, #1652, #1656, #1657, #1660, #1663 and #1670. There are some incompatible changes in the Go 1.21.0 encoding/xml library. I have given feedback to the Go team and created a patch for it (golang/go#61881), and it has been fixed on Go 1.21.1. Please using the Go 1.20.7 and previous Go released version or upgrade to Go 1.21.1 and later. I have added notice on the README and documentation website for this, and I've closed this. If you have any questions, please let me know, and reopen this anytime. |
I have updated the runtime to Go 1.21.2 and tested on Go 1.19 and the issue persists. I don't think this is a duplicate of the existing issues? |
Description
Opening and then writing or saving the attached workbook results in it being corrupted.
RT0001C86_CSSF SFDR Precon Report Data Collection Template v1.8.xlsx
Steps to reproduce the issue:
Tested with the following code to simply open and close.
f, err := excelize.OpenFile("templates/RT0001C86_CSSF SFDR Precon Report Data Collection Template v1.8.xlsx") f.SaveAs("RT0001C86_GenerateExcelTest 3.xlsx")
Describe the results you received:
When trying to recover the workbook, receive the following dialog.
Environment details:
The text was updated successfully, but these errors were encountered: