To contextualize, I migrated my mantis with a 1.1.8 version on an old Linux OS to an Ubuntu 24.04.01 LTS with a MANTIS in version 2.27.0
I found all my files, note and project but I have a problem with the note in my anomalies.
When I add a note with an image without text this one appears well in my notes however the notes with only images or files that I migrated from my old Mantis to the new do not appear in the notes on the other hand In the attachments they are well displayed.
From what I read the images or files in the notes without text were stored and displayed differently in old mantis.
I tried to update the SQL base to tackle images and files without text to their original but without success.
Is there someone who has already been concerned?
Attachment is not display when empty note
Moderators: Developer, Contributor
Re: Attachment is not display when empty note
Hello,
Someone have face this type of issue ?
Thanks.
Someone have face this type of issue ?
Thanks.
Re: Attachment is not display when empty note
Can you explain the difference between your gray "MANTIS" and the green "MANTIS POC" ?
Starting with 2.23.0, attachments are either linked to the issue (if mantis_bug_file_table.bugnote_id == null), or to a note (if mantis_bug_file_table.bugnote_id == {bugnote id}).
Mantis tries to associate older attachments (i.e. created before the upgrade to 2.23.0 or later) with a bugnote, based on user id and timestamp matching (within $g_issue_activity_note_attachments_seconds_threshold). If a match is found then the attachment will be associated with the note and displayed inline, if not it will be considered as an issue-level attachment (and displayed a the top).
I hope this clarifies.
Starting with 2.23.0, attachments are either linked to the issue (if mantis_bug_file_table.bugnote_id == null), or to a note (if mantis_bug_file_table.bugnote_id == {bugnote id}).
Mantis tries to associate older attachments (i.e. created before the upgrade to 2.23.0 or later) with a bugnote, based on user id and timestamp matching (within $g_issue_activity_note_attachments_seconds_threshold). If a match is found then the attachment will be associated with the note and displayed inline, if not it will be considered as an issue-level attachment (and displayed a the top).
I hope this clarifies.
Re: Attachment is not display when empty note
hello,
I know that since MantisBT 2.26, there have been changes in the display of attachments. In particular, attachments added without comment are no longer always visible in the timeline (activity history), but only in the attachment file section. I'm looking for a way to get back to the old display before version 2.26 because we lose the name and timestamp of the notes.
Thanks,
TF
I know that since MantisBT 2.26, there have been changes in the display of attachments. In particular, attachments added without comment are no longer always visible in the timeline (activity history), but only in the attachment file section. I'm looking for a way to get back to the old display before version 2.26 because we lose the name and timestamp of the notes.
Thanks,
TF