View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011274 | mantisbt | api soap | public | 2009-12-08 16:47 | 2015-08-10 05:49 |
Reporter | coyttl | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 1.1.8 | ||||
Summary | 0011274: mc_issue_note_add function not honoring CreationDate | ||||
Description | When calling the mc_issue_note_add() with an IssueNoteData object, the 'creationDate' field is not being set properly. | ||||
Steps To Reproduce | Using vb.net (for simplicity at the moment), create the note object and insert it:
mantNote.date_submitted = 0000001/1/2008 01:00:00# If you run this code today (for example, 12/10/2009), the resulting note in Mantis will have the insert date instead of the explicitly supplied creation date. | ||||
Tags | No tags attached. | ||||
The bugnote_api does not offer a way of passing in and I'm wary of changing the api right now. |
|
If we ever enable the ability to provide creation time to enable some migration scenarios, then we should limit such functionality to administrator accounts. |
|
This problem seems also apply to the reporter supplied. The reporter of the comment is always set to the account used to connect to the SOAP API. |
|
(In reply to comment 0011274:0032809)
This should work actually, I've double-checked the code. Please open a new issue if you can't set the reported by e.g. passing in a reporter (id = 12) object to the mc_issue_add function. |
|
@rombert I think anroy was referring to changing the reporter of a note, not the reporter of an issue. I can confirm that the following does not work in Mantis 1.2.19: a) Changing the date_submitted and last_updated when using the mc_issue_add function |
|
I still think that this is a 'good thing'. As far as I know the web UI does not allow you to change these values. If there is something that is possible from the web UI and restricted from the SOAP API I'm happy to fix it. |
|