Closed ane-gabriela closed 2 months ago
Note that here are two ways you can export a diagram to PDF:
So we need to check:
I am still investigating on this issue, couldn't find the root cause yet.
It's important to mention that the structure of the request altered a little on newer drawio versions. For example there are more parameters for this method and these could be required for the request to work. So a drawio upgrade seems necessary anyway. On another note, I did tried locally to apply these changes and the export still doesn't work, but I might be missing something (there are a lot of changes to consider). Unfortunately, the request response is not giving that much information. I would suggest to go on with the drawio upgrade and that come back at this issue
Until this is fixed, it's important to know that File -> Print
could be used as a workaround, and it's actually safer since you don't send your data to an external server. Check https://www.drawio.com/blog/export-pdf#secure-pdf-generation
Issue reproduced too on XWiki 16.4.0 using Diagram Application (Pro) 1.20.5.
proposal: when clicking on File - Export As - PDF use the File -> Print service. To check again post upgrade to drawio
@snazare Tested on XWiki 15.10.10 with version 1.21-rc-1, extension id com.xwiki.diagram:application-diagram (drawio24.5.5) - got the same result as above, the diagram is not exported
Steps to reproduce:
Actual results: No matter the selection made the result is the same - no diagram appears in the export
to be handled in #288
Preconditions: Have a diagram page created with added shapes.
Expected results: The diagram is exported as PDF.
Actual results: The diagram isn't exported
Environment: Windows 11, Chrome 125. Cloud XWiki 15.10.8, Diagram Application (Pro) 1.20.4