Page 1 of 1

adding 2 files with the same name to the same issue

Posted: 17 Aug 2017, 08:13
by mcmo
Hi

Why can't we add 2 files with the same name to the same issue? The database table for the files (mantis_bug_file_table) has an ID which seems to be unique. Hence I think that forbidding to have 2 files with the same name makes no sense.
I have quickly checked the code of MantisBT 2.1, but I don't where having 2 files in the same ticket with the same name would create an issue.
Thanks in advance

Re: adding 2 files with the same name to the same issue

Posted: 04 Mar 2019, 08:50
by JackMcConnick
Hey mcmo, have you found the answer for this? Because I'm looking for one.
Thanks!

Re: adding 2 files with the same name to the same issue

Posted: 04 Mar 2019, 10:16
by cas
Jack, it does not make sense to load the same file twice. Within Mantis a filename must be unique per bug.

Re: adding 2 files with the same name to the same issue

Posted: 05 Mar 2019, 01:47
by JackMcConnick
cas wrote: 04 Mar 2019, 10:16 Jack, it does not make sense to load the same file twice. Within Mantis a filename must be unique per bug.
Thank you for the clarification.