View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0026489||mantisbt||attachments||public||2019-12-20 09:02||2020-01-01 14:18|
|Summary||0026489: Note gets separated from attachments|
Sometimes note can be separated from attachment posted in a same time resulting in seemingly multiple notes in issue. Based on going through code i have found a problem that is cause it.
Simple fix would be to expand
It basically requires few lines of code to fix:
into validate function along with variable into class itself:
Then little change in process function (sending this new variable into file_attach_files and bugnote_add)
And lastly send this new param into file_add call inside.
This should be enough to fix this and even allow forcing custom submission date for notes in REST which can be useful when working on tool that has local preview and you need to create notes semengly in history (push then in different time that they are created on php side)
|Tags||No tags attached.|
Until 2.21.1 included, attachments were related to bugnotes, based on timestamp. Starting with 2.23.0, they are linked to the bugnote_id. This effectively fixes the issue you're reporting, which I believe is a duplicate of 0024113.
Please upgrade to the latest release.
|2019-12-20 09:02||sadovsf||New Issue|
|2019-12-20 11:39||dregad||Assigned To||=> dregad|
|2019-12-20 11:39||dregad||Status||new => resolved|
|2019-12-20 11:39||dregad||Resolution||open => duplicate|
|2019-12-20 11:39||dregad||Note Added: 0063324|
|2019-12-20 11:39||dregad||Relationship added||duplicate of 0024113|
|2019-12-20 11:39||dregad||Relationship added||related to 0021733|
|2020-01-01 14:18||atrol||Status||resolved => closed|