View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0022323||mantisbt||feature||public||2017-02-06 09:37||2017-02-23 12:22|
|Target Version||Fixed in Version|
|Summary||0022323: Missing whole "Attached Files" section|
With all the great improvements in new MantisBT 2.x, me and my users (piloting new version with selected users) are confused about not finding "Attached Files" section, as well as central "Upload file" box (only under the 'add note' - something we have disabled in MantisBT 1.2.x). We use MantisBT more like case management system - and we use attachments extensively. People opening the case would like to see the case with all the supporting attachments. Now attachments are mixed-up with notes. It means that one needs to travel over all notes to collect attachments!? Some of our tickets have up to 200 notes and dozens of attachments. With new setup these cases are basically unmanageable - only 'small' tickets are more-or-less OK - while still not convenient.
Can we have config option to re-enable display of attachments displayed in the old way - grouped together and not scattered in "Activity" messed-up with notes?
|Tags||No tags attached.|
In case you need this functionality, do the following:
This makes it configurable, not absolutely neeeded but good practice,
Just behind this section, add the following code:
Here you are, your list is back in the main screen.
This way it looks a bit funny because of the HTML thing.
Changed 2 more lines to be in line with new lay-out, so it should read:
Thanks a lot! Works nicely.
Users can possibly use file attach under the 'add note' - doesn't seem to be a big problem. The only missing thing is date next to the attached file, but I looked into functions - it is removed in version 2.x so 'hack' needs to be deeper. My users would possible agree to live without date displayed in this box.
Can these changes be made part of next release?
@cas I edited your notes to add the markdown formatting so the code is displayed raw.
It was the decision of @vboctor to handle attachments upload and display at note level moving forward, so I let him comment on the eventuality of adding back the notion of "issue-level" attachments.
I have to say that I personally do not like the fact that a document uploaded as part of an issue's initial report appears as a separate bug note; this is made worse by the fact that I like to have notes sorted reverse (most recent first), so the initial attachments appear last.
It's worth mentioning that the current data model would not allow us to differentiate a note vs an issue attachment (currently this is an arbitrary link is based on the upload timestamp).
@aavagyan, it makes sense that the date is taken away since that is visible within the note. Can be added but most likely then also will show up within the note which is not desirable.
I strongly believe that "ticket" or "issue" or "case" (no matter what is the term used) needs to have the main information, with supporting documentation (files) as "core" informational unit, whereas notes and the rest (e.g. change-sets, time-tracking info, issue log, etc.), can be appended to it as needed. It looks like it can be achieved more or less easily by displaying "File attachments" block. Config option would be even better to satisfy different needs, e.g.:
I think that change is especially needed if we would like to keep last sentence valid.
This is something that my department would also like to see reinstated. I agree with @aavagyan that for use as a project management tool having all attachments collated within one area is immensely useful.
When uploading items such as: functional or business requirements, this could prove quite costly if they were missed. This is more likely to occur if they are 'hidden' away within the notes/activities section.
A configuration option would be ideal.
@cas I will test out those options on a test build of Mantis. Thank you for the effort.
Discovered small glitch with this fix. Opening inline (+ sign) shows image in the top-block and not showing it in 'activity' block...
The fix provided above works great, except that the details are coming on multiple lines as shown in the attachment here. Is there a way to make the details come on one line?
AttachedFiles.JPG (88,216 bytes)
AttachedFiles.JPG (88,216 bytes)
Just change this line:
Should do the trick!
Please note that
In order to be future compliant, I think that the line:
|2017-02-06 09:37||aavagyan||New Issue|
|2017-02-06 09:48||atrol||Relationship added||related to 0021727|
|2017-02-07 03:25||cas||Note Added: 0055518|
|2017-02-07 03:27||cas||Note Added: 0055519|
|2017-02-07 03:34||cas||Note Added: 0055520|
|2017-02-07 05:20||aavagyan||Note Added: 0055521|
|2017-02-07 05:31||dregad||Note Edited: 0055518||View Revisions|
|2017-02-07 05:32||dregad||Note Edited: 0055520||View Revisions|
|2017-02-07 05:39||dregad||Note Added: 0055523|
|2017-02-07 06:37||cas||Note Added: 0055527|
|2017-02-07 06:44||aavagyan||Note Added: 0055528|
|2017-02-09 05:11||dnewman||Note Added: 0055610|
|2017-02-09 05:13||dnewman||Note Added: 0055611|
|2017-02-10 10:51||aavagyan||Note Added: 0055643|
|2017-02-17 10:35||udaymantis||File Added: AttachedFiles.JPG|
|2017-02-17 10:35||udaymantis||Note Added: 0055718|
|2017-02-22 12:46||cas||Note Added: 0055748|
|2017-02-22 13:07||dregad||Note Edited: 0055518||View Revisions|
|2017-02-22 13:11||dregad||Note Added: 0055749|
|2017-02-23 11:07||cas||Note Added: 0055767|
|2017-02-23 12:22||dregad||Note Edited: 0055767||View Revisions|