PlantUML size limit?

Matthew Sabol March 9, 2020

When I exceed a certain number of elements on the page, it seems that even if the image call works (https://exp-plant.draw.io/plantuml4/png/...) that it generates an image when I load it separately on another tab.  However, the image is generated in confluence, it tries to append the code in the (https://<CompanyName>.atlassian.net/wiki/rest/tinymce/1/macro/placeholder) call shortly after.  This part fails and so the image is not displayed on the page with the plugin even though the image is available in my attachments.

 

What is weird is that the base64 in the url generated by https://exp-plant.draw.io/plantuml4/png/ is different than the src that fails, which is pointing to https://<CompanyName>.atlassian.net/wiki/plugins/servlet/confluence/placeholder/macro?definition=...

 

If it used the same url and/or encoding, it wouldn't exceed the size for a url (the first url is much smaller but still generates a large image).

 

For now, I'm just copying the images generated at https://plantuml.com/ and putting it into the confluence (not ideal).

 

Edit 1:

Found some more information, when I went to edit a diagram that I did like a a few weeks (which worked fine a few weeks ago), it now fails the same way the new diagram did for the same reason.  I wonder if something changed in the confluence ui that is now breaking things.

 

 

Edit 2:

If I create a new diagram, save and publish.  Then I go back and add the complex diagram.  Even though it errors out, when I go back and refresh the page, the diagram shows up.  Now, the plantuml code doesn't save at all to the plugin, but I can get the image to show.  I think this is a text size limit and not an image size limit.

 

1 answer

0 votes
Boris Jockov _Stratus Add-ons_ March 11, 2020

Could you raise a ticket on our support system with the diagram data attached(if possible)?

Marc Wiest March 30, 2020

Is there a ticket to watch now? I see the exact same behavior, which makes it almost impossible to use the plugin for anything but trivial diagrams.

My code is: https://pastebin.com/fJEjPgh2

And it fails saving exactly as Matthew described: 414 error code, image is generated but code is not saved. :(

Boris Jockov _Stratus Add-ons_ March 30, 2020

We released 1.2.7 that addresses the issue.  If your're still having issues, please get in touch with us through the support system

Like Marc Wiest likes this
Marc Wiest March 30, 2020

Fixed, thank you very much! I love the plugin BTW.

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events