Inserting two or more files with the same name doesn't work correctly

Consider two text files

folder2/a.txt with contents "This is the first file"

folder1/a.txt with contents "This is the second file"

Insert the first file and then the second. 

Confluence replaces the first file with the second but it doesn't warn you. Both text files will have the content "This is the second file"

Please fix this bug.

2 answers

1 accepted

This widget could not be displayed.

It is actually a feature of Confluence for file versioning. There is no folder structure in Confluence and it just thinks that you are uploading a new version of the same file (file name is the unique attribute here). And you can browse the different versions when you are viewing the file!

If those 2 files are different, either you should rename it or they should go to different pages in Confluence.

This widget could not be displayed.

Thanks for clarifying.

But doesn't this call for a warning? 

The only way I figured this was happening was that I was inserting PDFs and could see the previews. If it were a non-previewable file, there was no way I would have known. 

A warning  like this would be helpful:

"An older item named “a.txt” already exists in this page. Do you want to replace it with the newer one you’re inserting?"

Makes sense for new users. But imagine the warning appearing to all the users who knows about this feature. Can be annoying for many :) Having said that, it is my personal opinion and it won't hurt to create a feature request for the same in Maybe the warning needs to appear only for new users or it can be a one time pop-up which can be turned off.

Suggest an answer

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

460 views 6 6
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you