Charts are getting duplicated after opening, saving, and closing with Aspose cells

Charts are getting duplicated after opening and saving with with Aspose cells, then closing and viewing in Excel.

Steps to reproduce:

  • Unzip and open the attached “Duplicated Charts.xlsx” file in Excel
  • Click on the “S2 CHART” tab
  • Click on the chart in the top left of the table
  • Drag the chart away
  • Repeat, and you’ll notice there are 4 charts in total
  • Close the file, and open with Aspose Cells in code
  • Save the file, then close
  • Open the file in Excel, and there will be a fifth chart (everytime Aspose Cells saves the file, a chart is duplicated) image.png (105.8 KB)

The only code needed to reproduce is:

Workbook workbook = new Workbook("Duplicated Charts.xlsx");
workbook.Save("test.xlsx", SaveFormat.Xlsx);

Duplicated Charts.zip (1.7 MB)

@tstowell Hi,
We have logged a ticket with the ID “CELLSNET-51546” for your issue. We will investigate as soon as possible.

@tstowell hi,
Could you upload the most original xlsx (no repeating shapes) files that will help us better locate the problem.

@tstowell,

This is to inform you that your issue (logged earlier as “CELLSNET-51546”) has been resolved. The fix will be included in the next official release (Aspose.Cells v22.8) which is scheduled to be released in the second week of August 2022. You will also be notified when the next version is published.

1 Like

The issues you have found earlier (filed as CELLSNET-51546) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi