Hi,
We noticed some random file corruptions in the output when using Aspose.Cells 19.4.0. After checking the xml file inside, we noticed Aspose purposely corrupted the document because it thought the version I was using is cracked:
image.png (46.9 KB)
However, I have been using the legit Aspose.Total licence and have purchased new license every year, and I have never attempted to use a cracked version.
To replicate the issue, I used the following code:
// Register Aspose first
var files = new[]
{
@“C:\1.xlsx”,
@“C:\2.xlsx”,
@“C:\3.xlsx”
};
Parallel.ForEach(files, (f) => { var workbook = new Workbook(f);
workbook.Save(f);
});
I’m using .net framework 4.5.2, Aspose.Cells 19.4.0, license is Aspose.Total. I have attached the files for your reference.
test.zip (27.9 KB)
It does not happen all the time, but after a few attempts, you can see one of the output files is purposely corrupted with the message in the XML in my screenshot above. You can replicate the issue by keeping running the code above.
This is quite a serious issue as Aspose wrongly deemed the version is cracked, and corrupted the file silently, even if we have purchased the license from Aspose.
Moreover, I noticed the issue did not happen (in my tests) in 19.5.0 and above, but I did not find any explanation on the release note.
It is very concerning to me, could you please help to check why it happened, and confirm whether it has been officially fixed in 19.5.0 or later versions?
UPDATE: I tested previous versions as well and found the issue only started appearing from 19.2.0, before 19.1.0 it also seemed to work fine. Could you give us a bit more clarification on what happened in 19.2.0-19.4.0?
Thanks,