View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011015 | mantisbt | api soap | public | 2009-10-07 16:58 | 2010-02-22 14:34 |
Reporter | rombert | Assigned To | rombert | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0rc2 | ||||
Target Version | 1.2.0 | Fixed in Version | 1.2.0 | ||
Summary | 0011015: mc_issue_update erases 'Due date' field | ||||
Description | Actually found in 1.2.0rc2, but it's not available in the drop-down. The due_date field is erased when using mc_issue_update, since in api/soap/mc_issue_api.php on line 687 it's set as <pre> $t_bug_data->due_date = date_get_null();</pre> Please either expose this field using the SOAP API, as was done for target_version in issue 0008284 , or read the existing value from the database. | ||||
Tags | No tags attached. | ||||
MantisBT: master-1.2.x 087445ce 2009-10-28 12:18 Details Diff |
Fixes 0011015: mc_issue_update erases 'Due date' field The due_date field has been added to the WSDL and is now exposed by mc_issue_get and accepted by mc_issue_add and mc_issue_update. Proper access checkes are in place. The due_date is read with the local time zone offset applied since nusoap seems to apply the offset wrong when parsing. Reference: http://www.nabble.com/NUSOAP-datetime-UTC-issue-td16627310.html Tests have been added for both adding and updating an issue, skipped if the thresholds don't allow the admin user to view and update the due date. |
Affected Issues 0011015 |
|
mod - tests/soap/SoapBase.php | Diff File | ||
mod - api/soap/mantisconnect.php | Diff File | ||
mod - tests/soap/IssueAddTest.php | Diff File | ||
mod - tests/soap/IssueUpdateTest.php | Diff File | ||
mod - api/soap/mc_issue_api.php | Diff File | ||
MantisBT: master 29d70634 2009-10-28 12:18 Details Diff |
Fixes 0011015: mc_issue_update erases 'Due date' field The due_date field has been added to the WSDL and is now exposed by mc_issue_get and accepted by mc_issue_add and mc_issue_update. Proper access checkes are in place. The due_date is read with the local time zone offset applied since nusoap seems to apply the offset wrong when parsing. Reference: http://www.nabble.com/NUSOAP-datetime-UTC-issue-td16627310.html Tests have been added for both adding and updating an issue, skipped if the thresholds don't allow the admin user to view and update the due date. |
Affected Issues 0011015 |
|
mod - tests/soap/SoapBase.php | Diff File | ||
mod - api/soap/mantisconnect.php | Diff File | ||
mod - tests/soap/IssueAddTest.php | Diff File | ||
mod - tests/soap/IssueUpdateTest.php | Diff File | ||
mod - api/soap/mc_issue_api.php | Diff File | ||
MantisBT: master-1.2.x fbcc6186 2009-11-04 17:09 Details Diff |
Fixes 0011015: mc_issue_update erases 'Due date' field The due_date is now properly encoded , carrying the xsi:nil annotation if applicable. A test has been added to verify the presence of the attribute, which is required by some SOAP frameworks, notably Axis. |
Affected Issues 0011015 |
|
mod - api/soap/mc_issue_api.php | Diff File | ||
mod - tests/soap/IssueUpdateTest.php | Diff File | ||
mod - tests/soap/IssueAddTest.php | Diff File | ||
MantisBT: master dc3958c5 2009-11-04 17:09 Details Diff |
Fixes 0011015: mc_issue_update erases 'Due date' field The due_date is now properly encoded , carrying the xsi:nil annotation if applicable. A test has been added to verify the presence of the attribute, which is required by some SOAP frameworks, notably Axis. |
Affected Issues 0011015 |
|
mod - api/soap/mc_issue_api.php | Diff File | ||
mod - tests/soap/IssueUpdateTest.php | Diff File | ||
mod - tests/soap/IssueAddTest.php | Diff File |