Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Fri Jul 08, 2022 12:35 pm

When I try to Append a slide that has got a chart with chart types such as treemap, sunburst, histogram, box and whisker, waterfall, funnel, or Map from a loaded template to the newly created presentation I get the following exception.

Can you check that problem?

Exception Message:Internal cloning error: loaded document found. Path = "/ppt/charts/chartEx1.xml"

Screenshot 2022-07-08 153309.png


Template File:
template-charts.zip


Source Code:

Code: Select all
using Spire.Presentation;
using System.Linq;

namespace PptxTesterPaidVersion
{
    class Program
    {
        static void Main(string[] args)
        {
            ChartsCrashing();
        }

        private static void ChartsCrashing()
        {
            //Load template presentation
            Presentation templatePresentation = new Presentation();
            templatePresentation.LoadFromFile("template-charts.pptx");

            //Create New Presentation
            Spire.Presentation.Presentation presentation = new Spire.Presentation.Presentation();
            presentation.Slides.RemoveAt(0);

            //Get slide from template presentation. index:0
            ISlide cloneSlide = templatePresentation.Slides.ToArray().ElementAtOrDefault(0);


            //Append slide
            presentation.Slides.Append(cloneSlide);

            //Save and launch to view the PPTX document.
            presentation.SaveToFile("ChartsCrashing.pptx", Spire.Presentation.FileFormat.Pptx2010);
        }
    }
}

omur.ertanis
 
Posts: 22
Joined: Mon Feb 21, 2022 6:49 am

Mon Jul 11, 2022 10:19 am

Hello Omur Ertanis,

Thanks for your inquiry.
I indeed reproduced the behavior you mentioned. This issue has been logged into our bug tracking system with the ticket SPIREPPT-1992. Our Dev team will further investigate and fix it. Once it is fixed, we will provide a hotfix version for you. Sorry for the inconvenience caused.

Sincerely,
Simple
E-iceblue support team
User avatar

Simple.Li
 
Posts: 248
Joined: Fri Jul 01, 2022 2:33 am

Tue Aug 02, 2022 8:20 am

Hi,

Any updates on this?

Thanks

majeed_s
 
Posts: 80
Joined: Thu Mar 25, 2021 4:13 pm

Tue Aug 02, 2022 8:43 am

Hello Omur Ertanis,

Thanks for your inquiry.
Our development team has solved your problem, they are merging the code now. Once the hotfix version is available, I will get back to you as soon as possible. Thanks for your patience.

Sincerely,
Simple
E-iceblue support team
User avatar

Simple.Li
 
Posts: 248
Joined: Fri Jul 01, 2022 2:33 am

Mon Aug 08, 2022 10:38 am

Hi there,

Just checking if the hotfix is released?

Thanks

majeed_s
 
Posts: 80
Joined: Thu Mar 25, 2021 4:13 pm

Tue Aug 09, 2022 3:33 am

Hello Majeed sahebzadha,

Thanks for your inquiry.
Our development team is doing the full testing now. Once the tests passes, we will release the Hotfix version this week. And I will get back to you as soon as possible. Thanks for your patience.

Sincerely,
Simple
E-iceblue support team
User avatar

Simple.Li
 
Posts: 248
Joined: Fri Jul 01, 2022 2:33 am

Thu Aug 11, 2022 1:32 am

Hello Majeed sahebzadha,

Thanks for your patience!
Glad to inform you that we just released Spire.Presentation Pack Version:7.8 which fixes the issue with SPIREPPT-1992. Please download the new version from the following links to test.
Website download link:https://www.e-iceblue.com/Download/download-presentation-for-net-now.html
Nuget download link: https://www.nuget.org/packages/Spire.Presentation/7.8.0

Sincerely,
Simple
E-iceblue support team
User avatar

Simple.Li
 
Posts: 248
Joined: Fri Jul 01, 2022 2:33 am

Return to Spire.Presentation