xwikisas / application-diagram

Create various types of diagrams using draw.io
GNU Lesser General Public License v2.1
0 stars 7 forks source link

Can't export diagram as PDF - Error "MAX_AREA is not defined" #189

Closed ane-gabriela closed 3 years ago

ane-gabriela commented 3 years ago

Preconditions: Have a diagram page created with added shapes.

Steps to reproduce:

  1. Edit the diagram page
  2. Click on File > Export as > PDF...
  3. Click on Export
  4. Choose a name for the diagram
  5. Click on Download
  6. Open the diagram
  7. Go again to the diagram page in Edit mode and select some shapes
  8. Click again on File > Export as > PDF...
  9. Tick Selection Only and Crop
  10. Click on Export
  11. Choose a name for the diagram
  12. Click on Download
  13. Open the diagram

Expected results: The diagram and the selected shapes are exported as PDF.

Actual results: After clicking on Download (step 5 and 12) a message box with Error MAX_AREA is not defined appears.

NOTE: Open in a new window option is not working either - same error appears.

ExportAdPDF

On 9.11 9 11 PDF

Environment: Windows 10, XWiki 12.10.5 and 9.11, Chrome 89, Diagram Application (Pro) 1.16-rc-2