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
adding 2 files with the same name to the same issue
Moderators: Developer, Contributor
adding 2 files with the same name to the same issue
Marc
---------------------------
Old Server: MantisBT 2.1.0, PHP 5.5.9, MySQL 5.7.16, Ubuntu Linux 14.04.3
New Server: MantisBT 2.26.1, PHP 8.1, MySQL 8.0, Ubuntu Linux 22.04.4
---------------------------
Old Server: MantisBT 2.1.0, PHP 5.5.9, MySQL 5.7.16, Ubuntu Linux 14.04.3
New Server: MantisBT 2.26.1, PHP 8.1, MySQL 8.0, Ubuntu Linux 22.04.4
-
JackMcConnick
- Posts: 2
- Joined: 04 Mar 2019, 05:58
Re: adding 2 files with the same name to the same issue
Hey mcmo, have you found the answer for this? Because I'm looking for one.
Thanks!
Thanks!
Chief editor @ EatrBox | CleverMicro | Toodrie | Camengo
Re: adding 2 files with the same name to the same issue
Jack, it does not make sense to load the same file twice. Within Mantis a filename must be unique per bug.
-
JackMcConnick
- Posts: 2
- Joined: 04 Mar 2019, 05:58
Re: adding 2 files with the same name to the same issue
Thank you for the clarification.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.
Chief editor @ EatrBox | CleverMicro | Toodrie | Camengo