It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

PlantUML size limit? Edited

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

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

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. :(

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,435 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you