Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Converting from Legacy Editor - Images changing to "Unknown Attachment" intermittantly

Fraser Shepherd October 24, 2025

We've started converting our Confluence pages from the Legacy Editor to the new editor, we've noticed some weird behaviour on some of our pages.

On conversion, in-line/pasted images are changing to "Unknown Attachment", but not all the time or for every document, and not even all the time for the SAME document.

As an example : 

Page A has 5 in-line images pasted in at various points in the document.  These are pasted in as plain images, no third party apps or macros or anything that could cause compatibility issues.  Page A was created with the Legacy Editor, has 10 total Historic Versions, and when we hit "Edit" we are prompted to convert to the page away from the Legacy Editor.

On hitting "Convert Page" the in line images all change to "Unknown Attachment" and do not display any more.

Now the weirdness.

I revert back to Version 10, the last version before conversion, and the images reappear.  I then hit Edit AGAIN, allow the conversion to take place, and THIS time the images are retained.

This doesn't always work on the first try, or the second, but it does always EVENTUALLY work.  We've not found a page yet where "trying again a few times" doesn't work.  But we don't want to tell our users to "just keep trying till it works" for converting hundreds of pages, and this would remove any automation we might want to put in place for this conversion, as every page will need to be manually checked to ensure this issue has not occurred.

Any idea what could be going on here?  Is this a known bug/issue I'm overlooking?

1 answer

0 votes
Alex Koxaras -Relational-
Community Champion
October 24, 2025

Hi @Fraser Shepherd and welcome to the community,

Strange behavior, to say the least. Can you try copying the page and convert it again, and see if the problem persists? If the problem persists, can you check the page storage for anything suspicious? Another idea would be to export the page and try to import it again. Finally, if you are on a paid plan, raise a request to Atlassian's support.

Let me know if any of the above helps.

Fraser Shepherd October 24, 2025

Hi,

Got a request open at the moment, just figured I'd ask the community while waiting in case there was some known nuance/issue I was unaware of.

I will try the above for a few pages, but again even if this does work I really don't fancy doing that for every page we need to convert :)

Thanks

Alex Koxaras -Relational-
Community Champion
October 24, 2025

Sure thing! Try it just for a couple of pages. If you have many pages of that type then it depends on what the problem is. E.g. if the problem would be located to a special character on each image, then you could use python to find these pages and then replace that character on their storage. That would solve the problem. Another option would be to have Atlassian do that (if applicable) :) 

Fraser Shepherd October 24, 2025

I don't see anything particularly egregious in the code for the image when viewing storage : 

 

<ac:image ac:align="left" ac:layout="align-start" ac:original-height="222" ac:original-width="795" ac:custom-width="true" ac:width="795"><ri:attachment ri:filename="image2023-8-4_13-53-36.png" ri:version-at-save="1" /></ac:image>
Fraser Shepherd October 24, 2025

Thats one of the "Correctly Converted" images.  Grabbing the code from a legacy page gives me similar : 

 

<ac:image ac:height="250"><ri:attachment ri:filename="image2023-8-4_14-28-37.png" /></ac:image>
Alex Koxaras -Relational-
Community Champion
October 24, 2025

I don't see anything suspicious as well. Did you try to export it and import it again an/or copy it to another space or page?

Fraser Shepherd October 24, 2025

I will try with a different page.  The main issue is it does eventually always work, it just seems like <sometimes> the conversion fails.  Reverting to a prior version of the document and trying again fixes it.  So the conversion does work, it just seems to sometimes fail.  

I guess I'll just need to see if support see anything in the server logs maybe?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events