When I drag and drop a file in a comment, it shows a doc link in the comment. But, if the file name is same as a previously uploaded document, that document is picked up when we click on the document link in the comment.
But, if we click the file in the “Attachments” section, it shows the right document. So, document is uploaded properly, but the link in the comment point to the older document.