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 |
Reporter | sadovsf | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | closed | Resolution | duplicate | ||
Product Version | 2.22.1 | ||||
Summary | 0026489: Note gets separated from attachments | ||||
Description | 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. In class Simple fix would be to expand | ||||
Additional Information | It basically requires few lines of code to fix: IssueNoteAddCommand.php:
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) file_api.php:
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. |
|