-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving imported draw.io file fails #267
Comments
Indeed, I can also reproduce by attempting the import not only your file, but any msedge_8bFBL0qiil.mp4 |
There are 2 issues here. The second one is that indeed, you cannot save the diagram after importing any |
* WIP: this is a version that works partially, there are still cases that need to be handled * it is not working if you import on a empty diagram multiple pages, the first page is lost
* fix remained usecase, where the import was failing on empty diagram * copied method from a recent version of drawio to include a fix - in the old version of the method, when you import a diagram file on an empty diagram, they would unload the old XWikiFile and use LocalFile, and this breaks a lot of functionalities * update setData too, since pages are already initialized at that point
* copied method from a recent version of drawio to include a fix - in the old version of the method, when you import a diagram file on an empty diagram, they would unload the old XWikiFile and use LocalFile, and this breaks a lot of functionalities; this should be removed once we upgrade to a recent version of drawio * update setData too, since pages are already initialized at that point
Some imported draw.io files fail to save in a diagram page. I think it's related to embedded images or pdfs. Here's the screenshot if you click Save & View:
The page is empty afterwards and there are no attachments. The upload fails without further errors in the console or tomcat logs.
I've tested it on a fresh install and our production system.
I've attached a test file that fails to save. Can you please look into this problem?
Test_12224.zip
XWiki 15.10.8, Diagram Application Pro 1.20.4
The text was updated successfully, but these errors were encountered: