This is really a bug report, but I could not find another place to do so.
If you have saved a page as a draft, upon reopening I cannot add any draw.io widgets.
It's quite easy to reproduce:
* create a new page
* click "Close draft" in the top right corner
* reopen draft
* attempt to add a draw.io diagram
* click Create on any template
I get a popup that says "Draft Write Error: Draft could not be created"
in the Network tab of the browser (chrome, though I doubt it makes a difference), I see a 404 response from the api endpoint: (I have removed the ID's from the reponse and the url)
PUT /wiki/rest/api/content/....../child/attachment?status=draft
with the following response
{
"statusCode": 404,
"data": {
"authorized": true,
"valid": true,
"errors": [],
"successful": true
},
"message": "com.atlassian.confluence.api.service.exceptions.NotFoundException: No content found with id : draft and status ContentId{id=.......}, there is a content object with status : current"
}
If I publish the draft, then reopen it for editing, adding a draw.io diagram works fine.
Thanks.
Also, to clarify, this does _not_ happen if I have just newly created the page... *only* when it had previously been saved as a draft without ever having been published.
I have the same problem..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We reproduced the behaviour and added it to https://github.com/jgraph/drawio/issues/4095
Feel free to comment/track the issue there.
Kind regards,
Marija
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://marketplace.atlassian.com/apps/1210933/draw-io-diagrams-whiteboards?hosting=cloud&tab=support describes the support options available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.