PHPOffice / PHPPresentation

A pure PHP library for reading and writing presentations documents
https://phpoffice.github.io/PHPPresentation
Other
1.31k stars 523 forks source link

Issue While Export Data Objects in Pimcore as PPT Format Through PXP Page. #749

Open KasthuriAnandhan opened 1 year ago

KasthuriAnandhan commented 1 year ago

@kingjia90 & @blankse

Hello JiaJia Ji and Sebastian Blank if you have any idea about the following problem, can you please help us here?

We have developed to export a data objects as PPT file format through pimcore's PXP page using "phpoffice/phppresentation": "^1.0" bundle.

I was completed it successfully for individual data object export, but when I try to export multiple data objects as PPT file format I'm facing the error like below attached screen shot image, and this will not happen every time for same data object this problem will raise for different data object for different export and some time all the data objects details are exported without any issue like below attached screen shot image, but I'm facing this issue most of the time and do know how to fix it and no idea about it. Is this issue will occur because of Coding or Power Point Presentation Application.

In my PXP there are 390 products is there, when I tried to export all products as PPT file format I'm facing the mentioned error. I was tried to fix this issue in so many ways but can't to fix it, kindly help me to resolve this issue if you have any idea about this.

Thank You😊

247461504-abc1608a-0b75-467c-a640-0246a5118b3c

kingjia90 commented 1 year ago

If "it's not happening all the time and sometimes it works", it must have to do with the time it takes for this tool to complete the export. It works when the export was successful before rendering the page; it displays these empty not found box when the export took longer and didn't complete on time, even though you can find the file when you check the file location. In the web2print functionality(now own bundle) it relies on an asynchronous process to convert the stuff probably for the same exact reason at the base. Would suggest to make some custom processor based on that.

Progi1984 commented 3 months ago

@KasthuriAnandhan Hi have you got a code for reproducing the problem ?

KasthuriAnandhan commented 3 months ago

@Progi1984 Not Yet Progi.