xwikisas / application-diagram

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

Can't save the XML diagram imported from Device #271

Closed ane-gabriela closed 3 weeks ago

ane-gabriela commented 1 month ago

Preconditions: Have a diagram page created with some added shapes.

Steps to reproduce:

  1. Edit the diagram page
  2. Click on File > Export as > XML...
  3. Click on Export
  4. Choose a name for the diagram
  5. Click on Download
  6. Create a new diagram or edit an existing one
  7. Click on File > Import from > Device...
  8. Browse the diagram from the device
  9. Open it OpenDiagramXML
  10. Click on Save & View

Expected results: The XML diagram is imported and saved.

Actual results: A "Leave site?" message box pops up at the top of the screen ClickingSaveView

After the user clicks on the Leave button nothing is saved ResultAfter

Environment: Windows 11, Chrome 125. Cloud XWiki 15.10.8, Diagram Application (Pro) 1.20.4

sangdrax8 commented 1 month ago

I am seeing the same issue Diagram Application (Pro) 1.20.4

oanalavinia commented 3 weeks ago

Fixed by https://github.com/xwikisas/application-diagram/commit/7df66715566e50acc4235d2d2ee9947f8bcfcb57 , since it had the same root cause