Hyperlinks / Action Commands Break after Loading and Saving a Presentation in C#

Hi there,

after loading and saving a presentation with Aspose.Slides.NET@23.8.0, some hyperlinks and specifically action buttons break. Depending on the type of ppaction, this can result in the action not being usable or the entire presentation being corrupted and unrepairable by PowerPoint.

In the case of ppaction://media (used for video playback) we have been able to narrow the crash down to a single missing attribute in the slides’ OOXML.

Before:

<a:hlinkClick r:id="" action="ppaction://media"/>

After:

<a:hlinkClick action="ppaction://media"/>

It seems as though PowerPoint cares about the r:id attribute even if it’s empty. Is there any chance this could be investigated?

Have a good day and thank you very much!

@hbnrmx,
Thank you for contacting support.

Please share the following files and information:

  • sample presentation file
  • code example that reproduces the problem
  • output presentation file
  • OS version on which the code was executed
  • .NET target platform in your app

Hi Andrey, sorry for the delay!

I uploaded a minimal reproduction here:

sample presentation file
https://github.com/hbnrmx/aspose-repro/blob/aspose-corruption/AsposeRepro/input.pptx

output presentation file
https://github.com/hbnrmx/aspose-repro/blob/aspose-corruption/AsposeRepro/output.pptx

code example
https://github.com/hbnrmx/aspose-repro/blob/aspose-corruption/AsposeRepro/AsposeRepro.cs

OS version on which the code was executed
Microsoft Windows 10 Enterprise 10.0.19045 Build 19045 x86

.NET target platform in your app
net6.0

Thank you!

@hbnrmx,
Thank you for the additional information. I’ve reproduced the problem you described.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESNET-44217

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as SLIDESNET-44217) have been fixed in this update. This message was posted using Bugs notification tool by asad.ali

@hbnrmx,

Sorry, the fix for your issue is included in Aspose.Slides for .NET v23.11. Please try it.

1 Like

I can no longer reproduce in v23.11.
Thank you very much for your work, kudos to the chef :slight_smile:

@hbnrmx,

It is nice to know that your issue has been resolved in Aspose.Slides for .NET v23.11. Please feel free to write to us if you have any further queries or comments.