GridDesktop Copy\Paste with Comment errors out

  1. Add a GridDesktop control to a form
  2. Insert a comment into a cell
  3. Copy paste the cell with the comment

An unhandled exception of type ‘System.ArgumentOutOfRangeException’ occurred in mscorlib.dll

Additional information: Index was out of range. Must be non-negative and less than the size of the collection.

This is using 18.6

@philipstone,

Thanks for the details.

After an initial test, I observed the issue as you mentioned by following your steps using the latest version/fix. I found Aspose.Cells.GridDesktop errors out when performing Copy\Paste with comment. I followed the following steps:

  1. Add a GridDesktop control to a form
  2. Insert a comment into a cell
  3. Copy paste the cell with the comment

Exception: "An unhandled exception of type ‘System.ArgumentOutOfRangeException’ occurred in mscorlib.dll

Additional information: Index was out of range. Must be non-negative and less than the size of the collection".

I have logged a ticket with an id “CELLSNET-46244” for your issue. We will look into it soon.

Once we have an update on it, we will let you know here.

@philipstone,
This is to inform you that we have fixed your issue (logged earlier as “CELLSNET-46244”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

The issues you have found earlier (filed as CELLSNET-46244) have been fixed in Aspose.Cells for .NET v19.7. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi