View Issue Details

IDProjectCategoryView StatusLast Update
0008068mantisbtattachmentspublic2014-10-25 18:24
Reportermarc Assigned To 
Status confirmedResolutionopen 
Product Version1.0.7 
Summary0008068: Title of attachment isn't shown

The title of attachments isn't shown in the bug view. This is the 'title' column from the 'bug_file_table' in the DB.

Patch attached.

Actually I think this column can not be set from inside Mantis, but we converted a big Bugzilla database to Mantis, and it is used in there. It would be nice if this column could be filled in from inside Mantis, as its quite useful information.

Additional Information

--- mantis-1.0.7/core/file_api.php 2005-08-11 03:53:02.000000000 +0200
+++ mantis-1.0.7_mine/core/file_api.php 2007-06-13 10:44:43.000000000 +0200
@@ -173,7 +173,7 @@
PRINT $t_href_start;
print_file_icon ( $t_file_display_name );
PRINT $t_href_end . '</a> ' . $t_href_start . $t_file_display_name .

  • $t_href_end . "$t_href_clicket ($t_filesize bytes) <span class=\"italic\">$t_date_added</span>";
  • $t_href_end . "$t_href_clicket ($t_filesize bytes) <span class=\"italic\">$v_title ($v_date_added)</span>";

                    if ( $t_can_delete ) {
                            PRINT &quot; [&lt;a class=\&quot;small\&quot; href=\&quot;bug_file_delete.php?file_id=$v_id\&quot;>&quot; . lang_get('delete_link') . '&lt;/a>]';


related to 0007835 new Add "Has patch" flag to improve usefulness of the "Upload File" feature 




2007-07-08 17:31

manager   ~0014897

Looks good. I have two comments relating to this patch:

  1. We should handle the case where title is empty, make sure that generated HTML looks similar to the one we had before adding support for displaying this field.

  2. While we are there, we should also show the user who submitted the attachment.

Marc, it would be great if you can incorporate these changes into your patch.



2007-07-08 17:44

reporter   ~0014899

This is something I'd probably work on in the framework of 0007835

Issue History

Date Modified Username Field Change
2007-06-15 11:21 marc New Issue
2007-07-08 17:31 vboctor Note Added: 0014897
2007-07-08 17:43 giallu Relationship added related to 0007835
2007-07-08 17:44 giallu Note Added: 0014899
2014-10-05 18:10 grangeway Tag Attached: patch
2014-10-25 18:24 vboctor Status new => confirmed
2014-10-25 18:24 vboctor Category bugtracker => attachments
2014-10-25 18:24 vboctor Additional Information Updated View Revisions