Closed ane-gabriela closed 3 days ago
I could reproduce with the imported diagram, but it is repaired after a new Save of the page. It was the same even before editing it?
Get the same issue on diagrams that have image background
Meaning that you reproduce the same for new created diagrams with background? Or for other diagrams created in a previous version of Diagram Application? For me I couldn't reproduce for new diagrams with background, neither for diagrams that were created in Diagram Application 12.3 (previous version) and tested after upgrade.
The issue with the diagram appeared when you opened the diagram after upgrade? Or you performed any additional steps before observing the broken Attachments Tab or the errors? The background image was added using 'Actual size', or with 'Resize' option?
@oanalavinia The 2 Diagrams that had issues were created with prior version of Diagram. I've edited and saved them but nothing changed.
I've created a new Diagram with background image and it is being saved properly.
I saw the broken png after I changed in Object mode from SVG=Yes to No and made changes to the zoom option - I've tried all options from 1 to 5.
The Images were added from the right panel - one with an image from my computer and one with a link to a image. The sizes were the default.
not reproducing on xwiki 15.10.10, diagram pro 1.20.1
Preconditions: Have the diagram app installed with trial.
Steps to reproduce:
Expected results: The PNG image is shown/saved properly and the Diagram can be exported as PDF.
Actual results: The PNG appears broken, even with edit/save it doesn't change and the PDF export returns "%PDF-1.4 %����" "Notice A problem occurred while trying to process your request. Please contact the webmaster if this happens again."
Environment: Windows 10, XWiki 11.10.4 with MySQL 5.7 and Standard, Chrome 81, Firefox 74
XWiki console log: https://up1.xwikisas.com/#SIWoOZA9azf-Xjlct1fizQ
Page in XWiki when exporting as PDF : https://up1.xwikisas.com/#GZDYcC2yuwN1yxUYu1MIXg
NOTE: tested several times: